Question
[solved]How can I get DNS server from WAN intferface on my DHCP service ?
Hi, I got a Fortigate 50B with WAN1 interface connected to my ADSL modem. WAN1 interface get its IP address, default gateway, and DNS server from the DHCP service of my ADSL modem : (say for instance 192.168.1.34, 192.168.1.1, 192.168.1.1 / 255.255.255.0). Now, I created 1 VLAN " 70" on Internal interface and set an static IP address (say 192.168.70.1 / 255.255.255.0). Because I' m going to connect dumb workstations on this VLAN, I want a DHCP service to kick their... IP address, gateway, and DNS ;) So I configured a DHCP server on my VLAN interface " 70" via System > DHCP > Services. But the thing is puzzling me is how can I get this Fortigate unit to do the following simple job : get the DNS server from the WAN1 interface and use it as DNS Server for my DHCP service of my VLAN " 70" . I thought that marking the options " Retrieve default gateway from server" and " Override internal DNS" on WAN1 interface would solve my problem. Ok the default gateway work fine. My ping packets go where I want they go. But for my DNS queries, forget it ! It won' t work. Guess what... The workstations don' t get any DNS server during the DHCP query process unless I put by myself something in the field " Advanced" > " DNS Server 1" of my DHCP service. So if anybody got an idea on how to proceed, she is more than welcome. Because I got many VLAN interfaces to configures and the workarround I found is not dynamic if the DNS config of my ADSL modem change.
