From owner-freebsd-questions Sat Jul 25 17:59:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA21161 for freebsd-questions-outgoing; Sat, 25 Jul 1998 17:59:04 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from lucy.bedford.net (lucy.bedford.net [206.99.145.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA21145 for ; Sat, 25 Jul 1998 17:59:01 -0700 (PDT) (envelope-from djv@lucy.bedford.net) Received: (from djv@localhost) by lucy.bedford.net (8.8.8/8.8.8) id UAA29042; Sat, 25 Jul 1998 20:58:27 -0400 (EDT) (envelope-from djv) From: CyberPeasant Message-Id: <199807260058.UAA29042@lucy.bedford.net> Subject: Re: named vs hosts (and qpopper) In-Reply-To: <199807252342.LAA08427@cyclops.xtra.co.nz> from Dan Langille at "Jul 26, 98 11:42:13 am" To: junkmale@xtra.co.nz Date: Sat, 25 Jul 1998 20:58:27 -0400 (EDT) Cc: djv@bedford.net, freebsd-questions@FreeBSD.ORG Reply-To: djv@bedford.net X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan Langille wrote > On 25 Jul 98, at 19:12, CyberPeasant wrote: > > > Well, I think we need a peek into the zone files. > > > > The client in your local LAN, right? Do you have reverse lookup OK in the > > zone file for in-addr.arpa? > > Yes, the client is in my local lan. I assume by 'zone file', this is my > /etc/namedb/named.local file. > > > > > Assuming the client is box12.local.net 10.0.0.12, try: > > > > The client in question is wocker 192.168.0.99. I have a section in my > /etc/namedb/named.local file which contains: > > $ORIGIN 0.168.192.IN-ADDR-ARPA > > 99 IN PTR wocker.dvl-software.co.nz. > > My upstream host nameserver is alien.xtra.co.nz 202.27.184.3 > > > $ nslookup > > [message about localhost being the server] > > *** Can't find server name for address 192.168.0.20: Non-existant > host/domain > Server: alien.xtra.co.nz > Address: 202.27.184.3 Right, this is the problem. It's not using your machine as the nameserver, reason unknown. Well, if you send me (off the list), the following files, I can probably put you right. /etc/resolv.conf /etc/host.conf /etc/namedb/named.boot /etc/namedb/????? the zone files named in named.boot, except for the "cache" file. There should be, of course, SOA and NS records in the zone files. Dave -- "Today, machines sit on our desks and spend the overwhelming majority of their cycles doing nothing more important than blinking a cursor." --William Dickens http://www.feedmag.com/html/feedline/98.07dickens/98.07dickens_master.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message