Setting up nameservers on RedHat Linux 7.1 ???

Kevin Darcy kcd at daimlerchrysler.com
Fri Sep 14 22:31:33 UTC 2001


Unless you have 2 servers available to provide DNS, you need to get someone
else to be your slave. Under no circumstances should you delegate your domain
to two different addresses of the same box -- that would defeat the whole point
of the 2-nameserver requirement, which is to provide redundancy!

Regardless of how you do things, though, the "www" name can just be an alias to
some other name, or you can have multiple names resolving to the same
IP address. You don't need a unique address for every name in your DNS domain.


- Kevin

gnudevNOSPAM at ozemail.com.au wrote:

> Hi,
>
> I have two IP addresses assigned to my dedicated server. I want to setup
> nameservers so I will have ns0.myname.com and ns1.myname.com. I also want to
> setup the hostname www.myname.com.
>
> Can I do this with 3 names and only 2 IP addresses? It appears that I can't
> assign more than one hostname on my domain to one IP address, so for ns0,
> ns1 and www I am short of one IP address. Is this true? How do I get around
> it, if there is a way around it without another IP address?
>
> I am trying to read the O'Reilly book DNS & BIND 4th edn, but I am finding
> it scant on explanations for beginners, and vague.
>
> I am using RedHat Linux 7.1 and using BIND for that distro, which I think is
> BIND 9.1.
>
> It appears that my nameserver records are in /var/named/. What files do I
> need to create and what names should I give them? (The book suggests
> db.IPaddress and db.domain). What do I need to put in these files to get:
>
> ns0.myname.com (primary nameserver)
> ns1.myname.com (secondary nameserver)
> www.myname.com
>
> and how do I apply the changes? Just restart named or reboot the server
> altogether?
>
> ???
>
> I need to tell customers hosting websites on my machine in future to use
> ns0.myname.com and ns1.myname.com or the IP addresses, and assign their
> domain names to my machine also.
>
> Again what files, where, what to put in them, and how to apply the changes?
>
> Thanks!
>
> James





More information about the bind-users mailing list