From owner-freebsd-questions Thu May 1 15:33:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA21856 for questions-outgoing; Thu, 1 May 1997 15:33:33 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id PAA21837; Thu, 1 May 1997 15:33:24 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id PAA07346; Thu, 1 May 1997 15:31:50 -0700 From: Terry Lambert Message-Id: <199705012231.PAA07346@phaeton.artisoft.com> Subject: Re: Problem To: rls@mail.id.net (Robert Shady) Date: Thu, 1 May 1997 15:31:50 -0700 (MST) Cc: terry@lambert.org, rls@mail.id.net, freebsd-current@freebsd.org, freebsd-questions@freebsd.org, freebsd-bugs@freebsd.org In-Reply-To: <199705012126.RAA08597@server.id.net> from "Robert Shady" at May 1, 97 05:26:03 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > [rls@server]% nslookup www001.id.net > Name: www001.id.net > Address: 199.125.2.11 > > [rls@server]% nslookup 199.125.2.11 > Name: www001.id.net > Address: 199.125.2.11 > > Forward/Reverse look right... The 2.24 address is a virtual host on this > machine.. How exactly would I *fix* this DNS misconfiguration, and what > is misconfigured? :) It's misconfigured in that gethostbyname() returns NULL: > > > broker: 970430 23:43:07: getfullhostname: gethostbyname(www001.id.net) returned NULL. Here's an 'nslookup' on your stuff: | > set q=any | > 11.2.125.199.in-addr.arpa. | Server: ns.lambert.org | Address: 198.17.250.50 | | 11.2.125.199.in-addr.arpa name = webserver.id.net | 2.125.199.in-addr.arpa nameserver = ns1.id.net | 2.125.199.in-addr.arpa nameserver = ns2.id.net | ns1.id.net internet address = 199.125.1.1 | ns2.id.net internet address = 199.125.1.2 Offhand, I'd say that this was entirely too much stuff to be returned for an RARP entry. I'd expect something like a single line of: | 11.2.125.199.in-addr.arpa name = webserver.id.net I'd also expect, on a forward lookup, something like: | > www001.id.net | www001.id.net canonical name = webserver.id.net instead of a huge amount of cruft. The cruft won't really hurt (probably), but it's indicative of no logical seperation of SOA and namedb records. THEN I'd expect the huge amount of cruft for the CNAME record for a forward on "webserver.id.net". Probably the lack of a "cannonical name" (CNAME) record is why it's failing to find the cannonical name. You probably have the numeric value listed multiple times instead of using alias (A) records, if I had to guess. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.