From owner-freebsd-net@FreeBSD.ORG Tue Aug 29 21:17:08 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 542B316A4DA for ; Tue, 29 Aug 2006 21:17:08 +0000 (UTC) (envelope-from ya007@yandex.ru) Received: from smtp1.yandex.ru (smtp1.yandex.ru [213.180.223.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 802D143D46 for ; Tue, 29 Aug 2006 21:17:07 +0000 (GMT) (envelope-from ya007@yandex.ru) Received: from core-vulture-out.telecom.by ([213.184.224.3]:34523 "EHLO domcomp" smtp-auth: "ya007" TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S2077932AbWH2VQy (ORCPT ); Wed, 30 Aug 2006 01:16:54 +0400 X-Comment: RFC 2476 MSA function at smtp1.yandex.ru logged sender identity as: ya007 From: "Anton" To: Date: Wed, 30 Aug 2006 00:16:50 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailman-Approved-At: Fri, 01 Sep 2006 13:24:03 +0000 Subject: resolver configuration (FreeBSD 4.5.1, without running BIND on the local machine) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2006 21:17:08 -0000 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