Date: Wed, 30 Aug 2006 00:16:50 +0300 From: "Anton" <ya007@yandex.ru> To: <freebsd-net@freebsd.org> Subject: resolver configuration (FreeBSD 4.5.1, without running BIND on the local machine) Message-ID: <FBENJDGGPLPHJJCNFLMJGEFPCCAA.ya007@yandex.ru>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FBENJDGGPLPHJJCNFLMJGEFPCCAA.ya007>
