resolving 127.0.0.1 to localhost no ANSWER

Rahul Sawarkar torahuls at vsnl.com
Sun Feb 15 14:13:30 UTC 2004


Hello
My caching nameserver config does not return me localhost for 127.0.0.1

My 127.0.0 (a.k.a named.local) file reads
----------------------------------------------------
$TTL 3D
@ IN	SOA localhost. root at localhost. (
		1	; Serial
		6H	; Refresh
		1H	; Retry
		1W	; Expire
		6H)	; Minimum TTL
		NS	localhost.
1		PTR	localhost.
-----------------------------------------------------

dig -x 127.0.0.1 returns
-----------------------------------------------------
; <<>> DiG 9.2.2 <<>> -x 127.0.0.1
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 14392
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;1.0.0.127.in-addr.arpa.		IN	PTR

;; AUTHORITY SECTION:
in-addr.arpa.		10800	IN	SOA	A.ROOT-SERVERS.NET. bind.ARIN.NET. 2004021416 1800 900 691200 
10800

;; Query time: 467 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun Feb 15 14:03:24 2004
;; MSG SIZE  rcvd: 104
-------------------------------------------------------

I'm missing something here. Any help will be appreceated.

Please cc to: torahuls at vsnl.com

Rgrds



More information about the bind-users mailing list