Reset resolv.conf on disconnect/exit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wicd |
Fix Released
|
Wishlist
|
Adam Blackburn |
Bug Description
wicd overwrites /etc/resolv.conf to set name service info when it sets DHCP information, but does not change it back afterwards making the change persistent. In my case, I infrequently use wicd tograp a wi-fi connection when necessary, but the laptop spends most of its time with a static IP in a docking station. So if I have used wireless, when it goes back to the dock, the IP address etc is correctly set (by the OS during boot) but the resolv.conf is not set as its a persistent configuration file, so I have to copy a clean file over it or rewrite it each time.
I would like wicd to provide a "Restore Name Servers on Disconnect / Exit" option so that it may leave the resolv.conf how it found it, letting people easily dip in and out of wicd.
Related branches
Changed in wicd: | |
importance: | Undecided → Wishlist |
milestone: | none → 1.6.3 |
status: | New → Confirmed |
Changed in wicd: | |
status: | Fix Committed → Fix Released |
I just might be wrong, but I think this is something that your dhcp client should do. I seem to recall that dhcpcd puts the file back like it was before it was invoked.