From owner-freebsd-questions Wed Jul 1 23:53:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA16135 for freebsd-questions-outgoing; Wed, 1 Jul 1998 23:53:35 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA16096 for ; Wed, 1 Jul 1998 23:53:30 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id XAA23433; Wed, 1 Jul 1998 23:53:29 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Wed, 1 Jul 1998 23:53:29 -0700 (PDT) From: Doug White To: Gary Landers cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: HELP make-localhost address In-Reply-To: <359556F9.CF7251D1@tein.net> 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 Sat, 27 Jun 1998, Gary Landers wrote: > Where does make local host get the ip address it puts in the > localhost.rev It uses the name of the machine, not the IP. > I have two servers DNS1 and DNS2, DNS1 is running fine with no problems > I am configuring DNS2 to take the place of DNS1 as my primary server. My > plan is to get both running as Primary before changing DNS1 into a > secondary. When I run make-localhost script on DNS2 it uses the IP > address for DNS1. If I put the right ip in localhost.rev then named says > "unable to locate hostname for XXX.XXX.XXX.2" the hostname command > returns the correct name, the ip address is correct (I can telnet > remotly) Does the machine's name resolve okay? If not check /etc/resolv.conf. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message