[Dnsmasq-discuss] form of lines in host file

Richard Crane craner at haskins.yale.edu
Fri Oct 6 15:05:06 BST 2006


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20061006/212a0f6f/attachment.html


More information about the Dnsmasq-discuss mailing list