From owner-freebsd-questions Mon Sep 8 08:40:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA07582 for questions-outgoing; Mon, 8 Sep 1997 08:40:50 -0700 (PDT) Received: from execulink.com (root@mail.execulink.com [207.216.160.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA07576 for ; Mon, 8 Sep 1997 08:40:48 -0700 (PDT) Received: from empey (pc-531.on.rogers.wave.ca [24.112.48.46]) by execulink.com (8.8.5/8.8.5) with ESMTP id LAA01278; Mon, 8 Sep 1997 11:40:16 -0400 (EDT) Received: from Spooler by empey (Mercury/32 v2.01); 8 Sep 97 11:40:02 -0500 Received: from spooler by integral.on.ca (Mercury/32 v2.01); 8 Sep 97 11:39:25 -0500 From: "David Empey" Organization: Integral Communications To: Greg Lehey Date: Mon, 8 Sep 1997 11:39:14 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: DNS and "local host name" Reply-to: empey@integral.on.ca CC: freebsd-questions@freebsd.org Priority: normal In-reply-to: <19970908100756.20253@lemis.com> References: <26F3A33E89@integral.on.ca>; from David Empey on Sun, Sep 07, 1997 at 06:30:35PM -0500 X-mailer: Pegasus Mail for Win32 (v2.54) Message-ID: <7C7DE4875@integral.on.ca> Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > I am getting the following error when I try to make DNS enquiries > > from my system: > > > > Can't find servername for address 127.0.0.1: No response from > > server. > > > > I'm running a cache only DNS and am on the net successfully (I can > > ping using IP numbers). > You still need an entry for localhost. Try this: > > 1. Add the following line to /etc/named.boot > > primary 0.0.127.in-addr.arpa localhost.reverse > > 2. Create a file localhost.reverse in the directory specified in your > named.boot. Put the following into it: > > ; Reverse mapping for localhost domain > ; > ; $Id: localhost.reverse,v 1.1 1997/01/09 14:29:34 grog Exp $ > ; > 0.0.127.in-addr.arpa. IN SOA DNS.MYFQDN. DNS.MYFQDN. ( > 97010901 ; Serial (date, 2 digits version of day) > 86400 ; refresh (1 day) > 7200 ; retry (2 hours) > 604800 ; expire (7 days) > 86400 ) ; minimum (1 day) > IN NS DNS.MYFQDN. > > 0.0.127.in-addr.arpa. IN NS DNS.MYFQDN. > 1.0.0.127.in-addr.arpa. IN PTR localhost.MYFQDN > > > Replace MYFQDN with your fully qualified domain name (would appear to > be integral.on.ca), and DNS with the name of the system running the > name server. Send a sighup to your named, and things should be fine. The entry and file mentioned are both in place to no avail. This all worked on the system before an upgrade to a larger HD (I copied the files in question to a floppy and then to the new system). I'm stumped! ___________________________________________________________ David Empey mailto: empey@integral.on.ca http://www.integral.on.ca/empey/ 604-185 Berkshire Drive, London, Ontario, Canada, N6J 3R6 (519)-474-0296