Operating System - HP-UX
1833451 Members
2989 Online
110052 Solutions
New Discussion

Create a second DNS domain

 
Phil Gregory_1
Occasional Advisor

Create a second DNS domain

Hi,
I need to create a second domain in my DNS, to mirror the domain I have already setup.
e.g
I wish to get the same response for
host1.domain1.co.uk
as I do for
host1.domain2.co.uk

Thanks all,
Phil.
At the heart of problem blamed on the network, there lies at least two problems. One of which is blaming the network in the first place.
2 REPLIES 2
Brian Hackley
Honored Contributor

Re: Create a second DNS domain

Phil,
I'm going to give you a very generalized answer here, without knowledge as which version of DNS you are using.

You can either use the "hosts_to_named" script to do this, or copy the DNS config file(s) for "domain1" to those for "domain2" and make appropriate edits. You'll also need to add the new domain to the DNS boot file (typically /etc/named.boot).
Man hosts_to_named and or take a look at the "Using Internet Services" doc at http://docs.hp.com. Other helpful resources include http://www.acmebw.com/askmrdns/ and http://www.dns.net/dnsrd/

Hope this helps,
-> Brian Hackley
Ask me about telecommuting!
Phil Gregory_1
Occasional Advisor

Re: Create a second DNS domain

Thanks Brian,
i have now set up a seperate machine to handle the new domain. I was having trouble with reverse lookups (as the names and addresses are the same in each domain!). So now I have two DNS servers one handles dom1 and the other dom2 and both secondary to each other. So much for the seamless migration to Win2K!!!
Thanks again,
Phil.
At the heart of problem blamed on the network, there lies at least two problems. One of which is blaming the network in the first place.