resolver configuration (FreeBSD 4.5.1,
without running BIND on the local machine)
Anton
ya007 at yandex.ru
Tue Aug 29 21:17:08 UTC 2006
Hi all.
I'm trying to configure resolver under FreeBSD 4.5.1. I have no BIND on the
local machine. I have specified adresses of DNS servers, but it doesn't
resolve names to IP adresses.
***** Here is the content of /etc/resolv.conf:
domain my.domain
nameserver 209.51.128.18
nameserver 209.51.128.17
***** /etc/hosts.conf:
# First try the /etc/hosts file
hosts
# Now try the nameserver next.
bind
# If you have YP/NIS configured, uncomment the next line
# nis
***** /etc/hosts:
::1 localhost localhost.my.domain
127.0.0.1 localhost localhost.my.domain
***** Result of running "nslookup google.com":
Server: dns2.gnax.net
Address: 209.51.128.18
Name: google.com.my.domain
Served by:
- C.ROOT-SERVERS.NET
- D.ROOT-SERVERS.NET
- E.ROOT-SERVERS.NET
- F.ROOT-SERVERS.NET
- G.ROOT-SERVERS.NET
- H.ROOT-SERVERS.NET
- I.ROOT-SERVERS.NET
- J.ROOT-SERVERS.NET
192.58.128.30
- K.ROOT-SERVERS.NET
- L.ROOT-SERVERS.NET
***** But when I run "ping google.com":
ping: cannot resolve google.com: No address associated with name
Why it doesn't work?
Best regards,
-Anton
More information about the freebsd-net
mailing list