Re: Openresolv bug ?
Roy Marples
Sat Feb 10 03:18:44 2018
Hi
On 09/02/2018 23:35, Tarjei Jensen wrote:
Hi,
Raspbian uses Openresolv 3.8.0. I have encountered something I think is
a bug.
In /etc/dhcp/dhclient.conf I have added the following line :
prepend domain-name-servers 192.168.10.1;
However in /etc/resolv.conf that DNS server is at the end of the list of
DNS servers.
Is this something that have been fixed in later versions of Openresolv?
dhclient will put that at the start of the resolv.conf it will supply to
resolvconf.
IF another interface gets the same DNS servers and misses out the
prepend and passed that to resolvconf, yes this can occur.
As you're using openresolv, and you want to prepend a nameserver, maybe
you should consider adding this nameserver to resolvconf.conf? There's a
man page for this.
Roy
Archive administrator: postmaster@marples.name