[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dhclient and ipv6 DNS Servers



Hello,

 

the ipv6 DNS servers I get supplied from my ISP

 

nameserver fd38:81d3:9dac::1

nameserver fd22:c2e0:8eb2::1

 

have problems from time to time.

 

I tried to switch to other servers, e.g. Google, but this does not work, since

 

/etc/resolv.conf gets overwritten with a high frequency

 

/etc/dhcp/dhclient.conf does not accept ipv6 addresses like, since if I use the instructions from

 

https://developers.google.com/speed/public-dns/docs/using

 

and add to /etc/dhcp/dhclient.conf

 

prepend domain-name-servers 2001:4860:4860::8888, 2001:4860:4860::8844;

dhclient becomes unhappy (during an ifup eth0.1)

 

/etc/dhcp/dhclient.conf line 26: semicolon expected.

prepend domain-name-servers 2001:

^

/etc/dhcp/dhclient.conf line 26: expecting a statement.

prepend domain-name-servers 2001:4860:4860::8888, 2001:4860:4860::8844;

^

/etc/dhcp/dhclient.conf line 26: semicolon expected.

 

^

 

prepend domain-name-servers 8.8.8.8;
works, but still comes after the ipv6 nameservers

 

root@home:~# cat /etc/resolv.conf        
domain bokomoko.de
search bokomoko.de
nameserver fd38:81d3:9dac::1
nameserver fd22:c2e0:8eb2::1
nameserver 8.8.8.8
nameserver 192.168.0.1
root@home:~#


and the slow servers get queried first :-/

 

 

Probably unrelated, but today even Murphy seems to be with me, even if I switch on my ISP modem to alternate DNS servers, this gets ignored.

 

Any hint is welcome.

 

Thanks

Rainer

 

 

 

--

Rainer Dorsch

http://bokomoko.de/


Reply to: