GNOME Bugzilla – Bug 682153
Duplicate DNS entries result in all entries being erased when one interface goes down
Last modified: 2013-02-18 15:38:47 UTC
I noticed this problem previously when using localhost but now it happens again on the network using the same network. Basically, I have one DNS server that I wish to use. This might also be doing DHCP via wireless and wired. So I had to use the normal keyfile setup because the distro doesn't support metrics on the interferfaces. So the configuration is thus. | ---< wired metric 5 >-------| <Machine 1>---| |- <DNS and router> --- <internet> | ---< wireless metric 10>----| The problem is that the router can only have one IP address and I would like it to cache the DNS entries. So I have two interfaces what might be active at any one time because I can connect to the same network when I need to use some other machine etc. So both interfaces can be up with the same DNS server. The problem is: Connect to wireless - DNS server is updated with correct address (with or without resolvconf) Now connect to wired - No DNS server needs to be updated as it is the same one. Now disconnect the wireless (to be honest it gets disconnected because some other person is blasting on the same freq, so it is happening quite often), and you lose the DNS server. Chattr +i is a temporary work around but this doesn't work with resolvconf.
Or in a nutshell, when you have two active interfaces managed by NetworkManager that point to the same namerserver, and one is disconnect, the single nameserver entry is deleted. BAD.
what distro / dns plugins?
(In reply to comment #0) > Chattr +i is a temporary work around but this doesn't work with resolvconf. There was a bug in NM's resolvconf support that caused exactly the problem you're describing. This is fixed in the upcoming 0.9.8 release