I have used djbdns for my main DNS server, it run as tinydns.
Here is my data:
Quote:
# root for abc.ex
.abc.ex:192.168.16.5:abc.ex:259200
# nameserver for abc.ex
.abc.ex:192.168.16.5:ns.abc.ex:259200
# reverse lookup for root
.16.168.192.in-addr.arpa::abc.ex
# reverse lookup for ns
.16.168.192.in-addr.arpa::ns.abc.ex
###################################
###################################
# local entry
=localhost.abc.ex:127.0.0.1
# reverse for localhost
=0.0.127.in-addr.arpa::localhost.abc.ex
=puffy.abc.ex:192.168.16.5
###################################
###################################
# MX entry
@abc.ex:192.168.16.5:mail.abc.ex
# host entry point to mail server
#=mail.abc.ex:192.168.16.5
# alias entry to point to mail server
=www.abc.ex:192.168.16.5
###################################
###################################
|
And here is my /etc/resolv.conf
Quote:
nameserver 192.168.16.5
search abc.ex
|
When i type command:
# host localhost
Quote:
localhost.abc.ex has address 127.0.0.1
|
However when i use command:
# host 127.0.0.1
Quote:
;; connection timed out; no servers could be reached
|
How can i fix this problem with 127.0.0.1 can reverse to localhost. Please help me. Thank you very much.