DNS servers are not cleared from resolv.conf when link comes down
When bringing down PPP,PPPoE,PPTP,L2TP we don't clear the DNS server IPs associated with those links from the /var/etc/resolv.conf file.
Maybe add system_hosts_generate() to the interface_bring_down function? There should probably be more to it than that since they should probably be cleared is the link comes down due to other factors like ISP problems of cable problems between ISP and pfSense.
This causes problems for our cable modem friends in Israel in this thread: http://forum.pfsense.org/index.php/topic,25465.0.html
I'm not sure what to do so this can be a discussion about it, or if others feel confident to just make the change then that works too.
Updated by Marcus Brown over 11 years ago
I mean, I presume that this nameserver handling is done this way to keep the GUI responsive, so is there a way to get the nameservers updated(added and removed to /etc/hosts) faster while still keeping the GUI fast too?
What is the reason to handle nameserver updates through check_reload_status?