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

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to