From owner-freebsd-questions Sat Jul 25 16:24:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA14163 for freebsd-questions-outgoing; Sat, 25 Jul 1998 16:24:17 -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 QAA14157 for ; Sat, 25 Jul 1998 16:24:09 -0700 (PDT) (envelope-from listread@lucy.bedford.net) Received: (from listread@localhost) by lucy.bedford.net (8.8.8/8.8.8) id TAA28801; Sat, 25 Jul 1998 19:12:37 -0400 (EDT) (envelope-from listread) Message-Id: <199807252312.TAA28801@lucy.bedford.net> Subject: Re: named vs hosts (and qpopper) In-Reply-To: <199807252142.JAA25267@cyclops.xtra.co.nz> from Dan Langille at "Jul 26, 98 09:42:18 am" To: junkmale@xtra.co.nz Date: Sat, 25 Jul 1998 19:12:37 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG X-no-archive: yes Reply-to: djv@bedford.net From: CyberPeasant 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: > I'm running a mini-DNS system here on my subnet at home. I'm trying to sort out the DNS issues > associated with the qpopper message 'unable to get canonical name of client'. > > 1 - My /etc/host.conf file contains 'bind' before 'host'. I think this point explains the qpopper message > does not appear if the client information is contained in /etc/hosts. If I remove the entry from /etc/host, > the message returns. Is my thinking correct here? Yes, I think so. > 2 - My theory is that if my DNS is set correctly, qpopper should be able to get the information it needs > without resorting to the /etc/hosts file. Am I correct? Yes. > 3 - Any suggestion as to what to try next? 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? Assuming the client is box12.local.net 10.0.0.12, try: $ nslookup [message about localhost being the server] > box12 Tell us what it says > box12.local.net Tell us what it says > 12.0.0.10.in-addr.arpa Tell us what it says nslookup doesn't use the /etc/hosts file. Dave -- Sancho Panza: `Microsoft Windows NT Server is the most secure network operating system available.' Don Quixote: `You are mistaken, Sancho.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message