Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[solved] Configure DNSforwarder
I hope this is the right section. What will come out?
For example:
When i' ve more then one locations i connect over vpn with an client (openvpn...). Until now i used local dnsmasq on a clientmachine. So i set an extra DNSserver for every Domain:
192.168.0.240/hello.local
172.13.12.240/fun.local
...
So i can resolve every hostname. Ok. i would like to do the same with Fortigate. I' ve found something to configure DNSforwarding in the webinterface. But i dont have this option on my 60C. I searched for some CLI commands, but i do not found something helpfully.
So how can i to this with my fortigate 60C?
Greetings
Fortigate 60E v7.x (GA)
Fortigate 60E v7.x (GA)
8 REPLIES 8
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Make sure you have the " DNS Database" option checked under System->Admin->Settings.
Once this is checked you will see new options under System->Network on the GUI.
-DDSkier FCNSA, FCNSP FortiGate 400D, (2) 200D, (12) 100D, (2) 60D
-DDSkier FCNSA, FCNSP FortiGate 400D, (2) 200D, (12) 100D, (2) 60D
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello ddskier
This option was checked. I have already configured internal DNSservice and it works fine. But i dont have these forwardoption: http://docs.fortinet.com/fdns/html/wwhelp/wwhimpl/js/html/wwhelp.htm
I hope it means what i' ve writen in my post.
Fortigate 60E v7.x (GA)
Fortigate 60E v7.x (GA)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You do it from the CLI
conf sys dns-server
edit internal
set mode recursive
you can then create a dns database
conf sys dns-database
edit domain.com
set forward 4.4.4.4 2.2.2.2 1.1.1.1 3.3.3.3
i did all my remote 60c' s thie way
my local domain comes back across the vpn tunnel to the internal dns servers
everything else uses the DNS on teh fortigate (public)
FWF 60c - 40 of the suckers - 5.0 build 128
300c - 4 units (2 HA pairs) - 5.0 build 128
FortiManager
FortiClients
FWF 60c - 40 of the suckers - 5.0 build 128 300c - 4 units (2 HA pairs)
- 5.0 build 128 FortiManager FortiClients
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
conf sys dns-server
edit internal
set mode recursive
end
conf sys dns-data
edit domain.local (your domain name)
set domain domain.local
set forwarder 1.1.1.1 2.2.2.2 (i chose two different dns servers across the tunnel)
set type master
set view shadow
set authoritative disable
set ttl 180
end
point your dhcp server ont eh fortigate to hab out it' s internal interface ip for dns
the keys here are to make the set mode recursive
and on the dns-database set mode authoritative disable
course all this cold blow your stuff up... so precede with a test...
FWF 60c - 40 of the suckers - 5.0 build 128
300c - 4 units (2 HA pairs) - 5.0 build 128
FortiManager
FortiClients
FWF 60c - 40 of the suckers - 5.0 build 128 300c - 4 units (2 HA pairs)
- 5.0 build 128 FortiManager FortiClients
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for you answer. I test this.
Fortigate 60E v7.x (GA)
Fortigate 60E v7.x (GA)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Musst the fortigate have connection to this internal DNSserver from the other company? Because the fortigate has no connection to this DNS. Only the client who has the VPN.
Fortigate 60E v7.x (GA)
Fortigate 60E v7.x (GA)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the firewall must have connectivity.
FWF 60c - 40 of the suckers - 5.0 build 128
300c - 4 units (2 HA pairs) - 5.0 build 128
FortiManager
FortiClients
FWF 60c - 40 of the suckers - 5.0 build 128 300c - 4 units (2 HA pairs)
- 5.0 build 128 FortiManager FortiClients
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I understand, then it can not work.
Tanks for the information
Greetings ipranger
Fortigate 60E v7.x (GA)
Fortigate 60E v7.x (GA)
