Hi there,

On Wed, 17 Dec 2014 21:01:16 +0800, Andrew King wrote:
> I have a dual-stack home network, with ip6 & ip4 addresses provided by dhcp 
> from my router.
> However, by default I cannot get both interfaces to come up correctly
[...]
> In the order specified, the v4 and v6 addresses comes up fine, but the ipv6 
> dhcp overwrites /etc/resolv.conf (ignores the supersede lines)
[...]
> For now, I have added a hook in /etc/dhcp/dhclient-exit-hooks.d/ to recreate 
> resolv.conf using the ipv4 nameservers.

I guess the interaction between the two dhclient (IPv4 and IPv6) was
buggy, given that while setting up my fiber7.ch dual-stack home
connection I ended up with a similar problem, but with the "prepend"
option.

Basically, if you specify both...

  prepend domain-name-servers 127.0.0.1;
  prepend dhcp6.name-servers ::1;

...the first prepend (i.e. the IPv4 one) does not work.

The prepend issue is an upstream bug which should be fixed in 4.4.0
(only available in experimental, currently at 4.4.1-1):

  <https://bugzilla.redhat.com/show_bug.cgi?id=643890#c10>

Thx, bye,
Gismo / Luca

Attachment: signature.asc
Description: PGP signature

Reply via email to