[Bug 1675261] [NEW] dhclient-enter-hooks don't work to write dns server to file /etc/resolv.conf
Junbo Yang
1675261 at bugs.launchpad.net
Thu Mar 23 04:53:53 UTC 2017
Public bug reported:
On ubuntu 16.04.1, I use command "dhclient -6 [interface]" get ip and DNS from dhcp server. The interface could get ip address sccuessfully. But the dns who get from dhcp server do not write into file "/etc/resolv.conf".
To annotate line "run_hookdir /etc/dhcp/dhclient-enter-hooks.d" in file /sbin/dhclient-script, it works.
So it seems /etc/dhcp/dhclient-enter-hooks.d/resolvconf did not work.
** Affects: isc-dhcp (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1675261
Title:
dhclient-enter-hooks don't work to write dns server to file
/etc/resolv.conf
Status in isc-dhcp package in Ubuntu:
New
Bug description:
On ubuntu 16.04.1, I use command "dhclient -6 [interface]" get ip and DNS from dhcp server. The interface could get ip address sccuessfully. But the dns who get from dhcp server do not write into file "/etc/resolv.conf".
To annotate line "run_hookdir /etc/dhcp/dhclient-enter-hooks.d" in file /sbin/dhclient-script, it works.
So it seems /etc/dhcp/dhclient-enter-hooks.d/resolvconf did not work.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1675261/+subscriptions
More information about the foundations-bugs
mailing list