[Dnsmasq-discuss] local domain added when forwarding to upstream DNS servers

Tom Metro tmetro+dnsmasq at gmail.com
Thu Apr 30 07:22:01 BST 2009


Lixus Zoran wrote:
> This is my /etc/resolv.conf
> nameserver 127.0.0.1
> search mycompany.tld
> 
> But if I lookup external servers my domain gets appended "nslookup www.cnn.com":
>   9515.833311  10.0.0.43 -> 10.0.0.1    DNS Standard query A www.cnn.com.mycompany.tld
>   9515.833555    10.0.0.1 -> 10.0.0.43  DNS Standard query response, No such name

And that isn't followed by a query for www.cnn.com?

What if you 1. query www.cnn.com. (note the trailing period) or 2.
eliminate the "search mycompany.tld" line from /etc/resolv.conf?

 -Tom

-- 
Tom Metro
Venture Logic, Newton, MA, USA
"Enterprise solutions through open source."
Professional Profile: http://tmetro.venturelogic.com/



More information about the Dnsmasq-discuss mailing list