[Dnsmasq-discuss] Re: [Fwd: 'server' in resolv.conf]

Simon Kelley simon at thekelleys.org.uk
Fri Jun 15 20:54:06 BST 2007


Andrew Bartlett wrote:

> 
> I recently came across an intresting behaviour.
> 
> I had my system (mis?)configured to have 'server 192.168.195.1' in
> my /etc/resolv.conf.  This works for other tools (nss, and 'host'), but
> the standard is clearly to use 'nameserver 192.168.195.1'.
>                                 ^^^^
> 
> I know what I did is out of spec, but to save others having to look up
> the source to see what the strcmp() is matching on, should dnsmasq
> accept both?
> 

That seems best: I've made the change for the next release.

Thanks,

Simon.





More information about the Dnsmasq-discuss mailing list