MaD dUCK on Thu, 3 May 2001 15:24:11 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] DNS CNAME issues


also sprach Eric Cunningham (on Wed, 02 May 2001 07:54:15PM -0700):
> Thanks for the suggestion.  Unfortunately it still isn't working.  I'm
> kind of getting eager to get it working so i might end up giving the
> machine a hostname of www.  But I'd much rather solve the problem and
> understand why it wasn't working.

i've been off the list, so if you send me the info again privately,
i'll take a look (including named.conf and relevant zone files)

> > I believe you need an @ at the beginning of the line:
> > @               IN MX   10 mail.beccel.com.
> > (Someone correct me if that's unnecessary.)

nope. you're right. @ translates to the name of the zone, so
beccel.com for this one...

> > localhost.beccel.com.    IN A    127.0.0.1
> > mail.beccel.com.         IN A    216.158.41.227
> > ns2.beccel.com.          IN A    216.158.41.228

or preferably, just

> > localhost                IN A    127.0.0.1
> > mail                     IN A    216.158.41.227
> > ns2                      IN A    216.158.41.228

which uses the fact that the zone is beccel.com and since no final
period is appended to the names, beccel.com is automatically assumed
by bind.

so your problem is with aliases?

with the above changes, and an entry like:

this-is-a-test               IN CNAME mail

what does a 'host' lookup reveal (after serial no. increment and 
rndc/ndc reload)?

martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
-- 
micro$oft is to operating systems & security
what mcdonalds is to gourmet cuisine.


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug