summaryrefslogtreecommitdiffstats
path: root/etc/rc.dhclient_cron
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-03-26 06:36:16 +0545
committerPhil Davis <phil.davis@inf.org>2015-03-26 06:36:16 +0545
commita110a0cb06ae9fddd61d8bb73248333ab1eb469b (patch)
treec2d02f945f1c18408a94c6a0a494de4da7a88c0f /etc/rc.dhclient_cron
parentd5b28fcf94d5db726f8e5d9e1e80662df215b733 (diff)
downloadpfsense-a110a0cb06ae9fddd61d8bb73248333ab1eb469b.zip
pfsense-a110a0cb06ae9fddd61d8bb73248333ab1eb469b.tar.gz
Always include general setup DNS servers in unbound.conf
when forwarding mode is on. The General Setup setting "Allow DNS server list to be overridden by DHCP/PPP on WAN" has always been used in dnsmasq to ADD DHCP/PPP provided DNS servers to the list, while also keeping the DNS servers specified in General Setup. That behavior is needed if: 1) WAN1 static IP with upstream DNS server/s specified in General Setup and selecting the WAN1 gateway. WAN2 uses DHCP, DNS server received by DHCP from upstream. The user needs to tick "Allow DNS server list to be overridden by DHCP/PPP on WAN" to get the WAN2 DNS server to be used, but also wants the DNS server from General Setup to also be used. 2) WAN1 static IP, DNS server/s specified in General Setup. For whatever reason the user has also ticked "Allow DNS server list to be overridden by DHCP/PPP on WAN". In actual fact there are no WAN-style interfaces set to DHCP, so "allowing to be overridden" should not come into effect anyway - the DNS servers in General Setup should be used. 3) WAN1 DHCP, but the upstream DHCP does not give out any DNS server/s. "Allow DNS server list to be overridden by DHCP/PPP on WAN" is ticked. Again there are no DNS servers received via DHCP, so any "override" should not be invoked. In all cases, it turns out that actually we want any General Setup DNS servers to be included in the DNS forwarder/resolver conf in addition to whatever (if any) DNS servers happen to be provided from a DHPC-WAN. This change makes unbound behave that way - the same as dnsmasq already does.
Diffstat (limited to 'etc/rc.dhclient_cron')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud