1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Rep Power

    Two domains, One DNS, How?

    I own two domains. Currently my DNS is serving one of them. I have setup a second set of zones for the second domain... I don't think the second set of zones is working.
    Specificily, I made copies the first zone and replaced "every" instance of the first domain with the second. Is that proper? Should a DNS server have have reference to the first and working domain in every zone, even if it is serving two domains? or should every zone state a new domain name for the server regardless of the first?

    Note: It is possible that the problem is Network Solutions, I just don't have the knowledge to tell. I have had many problems with them over the years. Network Solutions just will not recognize the DNS name in the second zone. Thus, the domain name is not resolving. The working domain name's registar is dotregister.com.
    I am running BIND 8.3.1 on Solaris 9.

    If nothing else, If anyone has links to some zone templetes of two domains on one DNS. I can figure it out from there.

    Thank you for your help,
  2. #2
  3. DNS/BIND Guru
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2003
    OH, USA
    Rep Power
    First to make sure your terminology is straight... A "zone" may contain many "domain's" or more properly termed "hosts".

    The "yahoo.com" zone (master) file contains many hosts such as:

    You can also think of a "zone" as a root domain. However, not all zones are the root. But anyway... I'm assuming you own 2 "zones" such as:


    Each zone is contained in its own seperate file. They must be named in named.conf with a reference to those master formatted files. Once they are named, it is the master files themselves that determine what and how many domains or hosts you assign to each zone.

    Example files which are older versions of my current setup:
    Last edited by SilentRage; July 29th, 2003 at 12:59 PM.
    Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

    Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

IMN logo majestic logo threadwatch logo seochat tools logo