[Dnsmasq-discuss] reverse lookups
philippe at faure.ca
Wed Apr 2 18:39:43 BST 2008
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
18.104.22.168.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=/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?
More information about the Dnsmasq-discuss