Setting up DNS (multiple master zones)


Results 1 to 2 of 2

Thread: Setting up DNS (multiple master zones)

  1. #1
    Join Date
    Dec 2004
    Posts
    11

    Setting up DNS (multiple master zones)

    OK, I have six domains that I want to host on my linux box. Each domain will have it's own folder under my /home directory. I have one of them up and working, but I'm confused when it comes to setting up the other 5. Can I use the name server for domain 1 to point to the other 5 or do I need to have a name server for each domain:
    Ex:
    ns1.domain1.com
    ns1.domain2.com
    ns1.domain3.com

    == OR ==

    ns1.domain1.com ==> points to domain 1 thru 5

    I'm on a cable modem and all the domains share a single IP address.

    I'm setting the zones up as virtual hosts under apache and the vhosts.conf file is properly configured. Please help.

  2. #2
    Join Date
    Nov 2003
    Posts
    105
    You can setup your DNS to be authoritative for all the domains you want. Then create a zone file for each domain where you define your DNs (e.g. ns1.domain.com) and the entry for www pointing to your apache's IP.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •