LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Corey Gilmore <cfg@dln.uvm.edu>
To : Trevor Nichols <trevor@ocdi.org>
Date: Thu, 26 Jul 2001 15:47:49 -0400 (EDT)
Re: BIND question
I have no problems moving ns.domain1.com to be a PTR to my ip, my next
question would be how do I setup a CNAME record for domain1.com to point
to ns.domain1.com? Would
domain1.com. IN CNAME ns.domain1.com
work?
Since we are paying for IP's, I am trying to use as many CNAME's as
possible, and save the ip's for sites requiring server certificates.
How would I go about setting up pointing domain2.com to domain1.com?
Would I need an initial A record, and then follow that up with my CNAME's?
That is
SOA STUFF
...
domain2.com IN A ip.of.domain1.com
www IN CNAME domain2.com.
ftp IN CNAME domain2.com.
thanks,
.cfg
On 27 Jul 2001, Trevor Nichols wrote:
> > The questions i have:
> > is it incredibly wrong to have ns.domain1.com as a cname to my main host,
> > domain1.com?
>
> I believe it is "naughty"/wrong to have the ns entry as a CNAME.
>
> > thing seem to work fine setup that way. if it IS wrong, this should work
> > fine for aliasing domain1.com to ns.domain1.com
> > domain1.com. IN CNAME ns.domain1.com
>
> Personally I'd just have the ns and the domain entries assigned to the
> IP addresses (even if they are the same).
>
> > Also, do I need to have separate zone files (and entries in named.conf)
> > for CNAME's of external domains? that is,
>
> Yes that's correct. You can't combine them in the one zone file, it
> doesn't work that way (as you already discovered).
>
> Hope that helps.
>
> -Trev.
>
>
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page