[Dnsmasq-discuss] reverse lookups

Simon Kelley simon at thekelleys.org.uk
Wed Apr 2 19:40:34 BST 2008


Philippe Faure wrote:
> Dnsmasq handles local domains nicely (for both forward and reverse 
> lookups):
> 
>    root at fileserver:~$host phil2
>    phil2.230newport.faure.ca has address 192.168.0.56
>    root at fileserver:~$host 192.168.0.56
>    56.0.168.192.in-addr.arpa domain name pointer phil2.230newport.faure.ca.
> 
> Other IPs in that 192.168.0.0/24 range dont work:
> 
>    root at fileserver:~$host 192.168.0.250
>    Host 250.0.168.192.in-addr.arpa not found: 3(NXDOMAIN)
> 
> 192.168.0.250 (and others ips liks 192.168.0.230 etc...) are handled
> by a second DNS server, but dnsmaq refuses to forward on the requests.
> 
> I added this conf item with no luck:
> 
>    # Example of routing PTR queries to nameservers: this will send all
>    # address->name queries for 192.168.3/24 to nameserver 10.1.2.3
>    #server=/3.168.192.in-addr.arpa/10.1.2.3
>    server=/0.168.192.in-addr.arpa/192.168.0.250 #second name server.
> 
> 
> I was wondering why it wont forward on the DNS PTR lookup (reverse 
> lookup) if it does not exist in its own DB?
> 
> 

Do you have the bogus-priv flag set? That takes priority (which is 
probably wrong, but it's too late to change now.)

Cheers,

Simon.

> 
> _______________________________________________
> 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