Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 1997 15:31:50 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        rls@mail.id.net (Robert Shady)
Cc:        terry@lambert.org, rls@mail.id.net, freebsd-current@freebsd.org, freebsd-questions@freebsd.org, freebsd-bugs@freebsd.org
Subject:   Re: Problem
Message-ID:  <199705012231.PAA07346@phaeton.artisoft.com>
In-Reply-To: <199705012126.RAA08597@server.id.net> from "Robert Shady" at May 1, 97 05:26:03 pm

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



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