From owner-freebsd-questions Fri Apr 16 11:44:39 1999 Delivered-To: freebsd-questions@freebsd.org Received: from opus.ies-energy.com (opus.ies-energy.com [208.128.113.35]) by hub.freebsd.org (Postfix) with ESMTP id DECC514FD6 for ; Fri, 16 Apr 1999 11:44:31 -0700 (PDT) (envelope-from jeff@opus.ies-energy.com) Received: (from smtpd@localhost) by opus.ies-energy.com (0.1/0.1) id NAA15009 for ; Fri, 16 Apr 1999 13:42:08 -0500 (CDT) Received: from opus.ies-energy.com(208.128.113.35) via SMTP by opus.ies-energy.com, id smtpd015007; Fri Apr 16 13:42:03 1999 Date: Fri, 16 Apr 1999 13:42:03 -0500 (CDT) From: Jeff Fisher To: freebsd-questions@freebsd.org Subject: Re: DNS Problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 16 Apr 1999, Chris wrote: > Date: Fri, 16 Apr 1999 13:26:12 -0400 (EDT) > From: Chris > To: Howard Johnson > Cc: freebsd-questions@FreeBSD.ORG > Subject: Re: DNS Problems > > Try putting > > nameserver 127.0.0.1 > > in your /etc/resolv.conf That only fixes a symptom of the problem. The problem is that the name server does not have a reverse mapping for itself. It needs 1 IN PTR ns1.tacsys.com. in the localhost.rev file. This will make the real problem go away. > > Chris > > On Fri, 16 Apr 1999, Howard Johnson wrote: > > > > > I am having a problem with DNS lookups from my FreeBSD server only. The DNS > > works properly with all the clients on the network and does zone transfers > > properly. However if I try and do an nslookup from the FreeBSD machine > > itself I get an error message that says "Can't find server name for address > > 208.140.75.1: Non-existent host/domain" and "Default servers are not > > available". > > > > I have been through the manual and tried everything I know without success. > > Below are my named.boot and db.127.0.0 file. I also tried generated a > > localhost file using make-localhost and that did not work either. > > > > I would appreciate any suggestions. > > > > ======================================================================= > > Howard Johnson @fax, Inc. > > Network Administrator TAC Systems > > Voice (256) 721-1976 1035 Putman Drive > > FAX (256) 721-0242 Huntsville, AL 35816 > > http://www.atfax.com http://www.tacsys.com > > > > > > NAMED.BOOT FILE: > > > > directory /etc/namedb > > > > ; type domain source host/file backup file > > > > cache . named.root > > primary 0.0.127.IN-ADDR.ARPA db.127.0.0 > > > > primary tacsys.com tacsys.hosts > > primary 75.140.208.IN-ADDR.ARPA localhost.rev > > primary tacsystems.com tacsystems.hosts > > secondary atfax.com 208.147.144.2 atfax.hosts > > > > > > DB.127.0.0 FILE: > > > > @ IN SOA ns1.tacsys.com. root.ns1.tacsys.com. ( > > 1999041612 ; Serial > > 86400 ; Refresh (1 day) > > 300 ; Retry (5 minutes) > > 2592000 ; Expire (30 days) > > 86400 ) ; Minimum (1 day) > > ; > > ; name servers > > ; > > IN NS ns1 > > ns1 IN A 208.140.75.1 > > > > localhost IN A 127.0.0.1 > > > > 1 IN PTR localhost.tacsys.com. > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > ----- Jeff Fisher UNIX Sys Admin - Alliant Energy jeff@ies-energy.com ... A booming voice says, "Wrong, cretin!", and you notice that you have turned into a pile of dust. - fortune To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message