Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 1998 19:12:37 -0400 (EDT)
From:      CyberPeasant <djv@bedford.net>
To:        junkmale@xtra.co.nz
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: named vs hosts (and qpopper)
Message-ID:  <199807252312.TAA28801@lucy.bedford.net>
In-Reply-To: <199807252142.JAA25267@cyclops.xtra.co.nz> from Dan Langille at "Jul 26, 98 09:42:18 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807252312.TAA28801>