[Dnsmasq-discuss] local domain added when forwarding to upstream DNS servers
Edson - Lists
4lists at gmail.com
Wed Apr 29 21:26:09 BST 2009
Isn't this query be done at a Windows machine?
Try to look at local (Windows) DNS configs...
Edson.
Lixus Zoran escreveu:
> Hello,
>
> I would like to use dnsmasq as switch for different
> DNS servers based on the domain in the querie.
>
> Queries about servers in my domain mycompany.tld should go to 10.0.0.1
> and all other queries should go to an upstream server 85.214.73.63
>
> This is my /etc/dnsmasq.conf
> resolv-file=/etc/resolvconf/resolv.conf.d/upstream
> strict-order
> server=/mycompany.tld/10.0.0.1
>
> This is my /etc/resolvconf/resolv.conf.d/upstream
> nameserver 85.214.73.63
>
> This is my /etc/resolv.conf
> nameserver 127.0.0.1
> search mycompany.tld
>
> A lookup in mycompany.tld works fine "nslookup myhost.mycompany.tld":
> 9505.864185 10.0.0.43 -> 10.0.0.1 DNS Standard query A myhost.mycompany.tld
> 9505.864371 10.0.0.1 -> 10.0.0.43 DNS Standard query response A 10.0.0.86
>
> 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
>
> It queries for www.cnn.com.mycompany.tld instead of just www.cnn.com
>
> How can I fix this ?
>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
More information about the Dnsmasq-discuss
mailing list