[Dnsmasq-discuss] form of lines in host file

Felix Rublack frublack at landau-gym.de
Sat Oct 7 20:41:44 BST 2006


Hi Richard Crane,

if you have also an forward host entry, the reverse address will added 
fully automatic. So the entry won't be added, but reverse lookup will work 
nevertheless.

bye,
--------
Felix 'frubi' Rublack
frublack at landau-gym.de

On Fri, 6 Oct 2006, Richard Crane wrote:

> I have added lines of the form
>
> 24.3.20.172.in-arpa.addr alvin
>
> to the hosts file, and the line
>
> local=/0.0.20.172.in-arpa.addr/
>
> to implement rDNS lookups, but I get entries of the form  "dnsmasq: bad 
> address at /etc/dnsmasq_hosts line 19"  in the log file on startup.
>
> But: the reverse lookup works --
>
> $ dig -x 172.20.3.24
>
> ; <<>> DiG 9.2.2 <<>> -x 172.20.3.24
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34076
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;24.3.20.172.in-addr.arpa.      IN      PTR
>
> ;; ANSWER SECTION:
> 24.3.20.172.in-addr.arpa. 0     IN      PTR     alvin.haskins.yale.edu.
>
> ;; Query time: 8 msec
> ;; SERVER: 172.20.3.28#53(172.20.3.28)
> ;; WHEN: Fri Oct  6 10:02:51 2006
> ;; MSG SIZE  rcvd: 78
>
>
> Why the log entry?
>
>
> RSC
> -------
> Haskins Laboratories / (203) 865-6163 X 275 /  FAX (203) 865-8963
>



More information about the Dnsmasq-discuss mailing list