FS#38299 - [netctl] wrong DNS on lease renewal
Attached to Project:
Arch Linux
Opened by David Costa (zarel) - Saturday, 28 December 2013, 16:56 GMT
Last edited by Jouke Witteveen (jouke) - Sunday, 02 March 2014, 17:30 GMT
Opened by David Costa (zarel) - Saturday, 28 December 2013, 16:56 GMT
Last edited by Jouke Witteveen (jouke) - Sunday, 02 March 2014, 17:30 GMT
|
Details
Description:
When using dhclient and user-provided DNS, resolv.conf is correct right after the profile has been started but it gets overwritten by dhclient as soon as the lease is renewed. The profile I use is as simple as: Interface=wlp2s0 Connection=wireless Security=none ESSID=xxxx IP=dhcp DHCPReleaseOnStop=yes DHCPClient=dhclient DNS=8.8.8.8 The version of netctl is: 1.4-2 |
This task depends upon
Comment by Jouke Witteveen (jouke) -
Sunday, 02 March 2014, 17:30 GMT
This is an issue with dhclient and can be fixed by via
dhclient-scripts, which is the culprit of this behavior.
Unfortunately, there are no dhclient parameters to prevent
dhclient-scripts from touching resolv.conf.