Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2003 16:24:56 +0000
From:      Jens Rehsack <rehsack@liwing.de>
To:        Vladimir <haba@aaanet.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Bind 9.2.3rc4
Message-ID:  <3F9AA3D8.9000303@liwing.de>
In-Reply-To: <1225931937.20031025184822@aaanet.ru>
References:  <1225931937.20031025184822@aaanet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Vladimir wrote:
> Hi, freebsd-questions.
> 
>  Can some one help with subj?
> 

> -----
> # dig 127.0.0.1
> 
> ; <<>> DiG 8.3 <<>> 127.0.0.1
> ;; res options: init recurs defnam dnsrch
> ;; res_nsend: Operation timed out

On my workstation:

$ cat /etc/resolv.conf
search muppets.liwing.de
nameserver 10.62.10.7
nameserver 213.70.188.162

$ host localhost
Host not found.

It looks for 'localhost.muppets.liwing.de'

$ host localhost.
localhost has address 127.0.0.1

As you can see - here it works.

$ nslookup localhost
Server:  fozzie.muppets.liwing.de
Address:  10.62.10.7
 
 

Name:    localhost
Address:  127.0.0.1

The only difference in your and my named.conf according to
zone localhost is, that you have included a 'notify no' in
the zone localhost.
Furthermore I don't use acl's, I'm using packet filtering.
 
 

$ nslookup localhost.
Server:  fozzie.muppets.liwing.de
Address:  10.62.10.7
 
 

Name:    localhost
Address:  127.0.0.1

$ dig 127.0.0.1
 
 

; <<>> DiG 8.3 <<>> 127.0.0.1
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 41076
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;      127.0.0.1, type = A, class = IN
 
 

;; AUTHORITY SECTION:
.                       3H IN SOA       A.ROOT-SERVERS.NET. 
NSTLD.VERISIGN-GRS.COM. (
                                         2003102500      ; serial
                                         30M             ; refresh
                                         15M             ; retry
                                         1W              ; expiry
                                         1D )            ; minimum
 
 

 
 

;; Total query time: 2131 msec
;; FROM: statler to SERVER: 10.62.10.7
;; WHEN: Sat Oct 25 16:11:53 2003
;; MSG SIZE  sent: 27  rcvd: 102
 
 

As you can see here, my server responds. You should check your logfiles
to see why your server denied to answer the request. Maybe you have to
increase the verbosity for it.

And - before I forget it: You should NEVER post your passwords,
secrets, etc. to any public medium! Replace them with 'secret'
or '***'.

Best regards,
Jens



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F9AA3D8.9000303>