Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 1999 13:42:03 -0500 (CDT)
From:      Jeff Fisher <jeff@opus.ies-energy.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: DNS Problems
Message-ID:  <Pine.BSF.3.96.990416133934.12763B-100000@opus.ies-energy.com>
In-Reply-To: <Pine.BSF.4.10.9904161325310.29360-100000@walnut.readington.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 16 Apr 1999, Chris wrote:

> Date: Fri, 16 Apr 1999 13:26:12 -0400 (EDT)
> From: Chris <chrismar@readington.com>
> To: Howard Johnson <hjohnson@tacsys.com>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990416133934.12763B-100000>