From owner-freebsd-questions@FreeBSD.ORG Sat Oct 25 09:24:59 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C927F16A4B3 for ; Sat, 25 Oct 2003 09:24:59 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B54743FBD for ; Sat, 25 Oct 2003 09:24:58 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 78066 invoked from network); 25 Oct 2003 16:24:56 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 25 Oct 2003 16:24:56 -0000 Message-ID: <3F9AA3D8.9000303@liwing.de> Date: Sat, 25 Oct 2003 16:24:56 +0000 From: Jens Rehsack User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031022 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: Vladimir References: <1225931937.20031025184822@aaanet.ru> In-Reply-To: <1225931937.20031025184822@aaanet.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Bind 9.2.3rc4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2003 16:24:59 -0000 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