Operating System - HP-UX
1830015 Members
1961 Online
109998 Solutions
New Discussion

RE: Adding another country domain to my DNS server config

 
Mogamat Kahaar
Frequent Advisor

RE: Adding another country domain to my DNS server config

Hi,

Any idea how i would add another country domain to my dns server config. I am using BIND on HPUX 10.20.

currently I have a db.za file for all resolutions where the domain is mydomain.co.za and now i need to add mydomain.co.tz. Can this be done with BIND?

Tx a $$$ in advance!

Mo
I do what I can !
2 REPLIES 2
Tee How Long
Advisor

Re: RE: Adding another country domain to my DNS server config

I have actually done it before in my LAN which I am setting up the DNS server that having two domain in it.
I will try to find out the configuration for u, meanwhile you can find out the answer from this excellent DNS website at http://www.acmebw.com/askmrdns/
Steven Gillard_2
Honored Contributor

Re: RE: Adding another country domain to my DNS server config

The steps to add the new domain are as follows:

1. Create the new zone files (eg. db.tz), using the existing zone file as a guide. Remember there are separate zone files for the forward and reverse lookup (ie lookup by ip address). If the IP addresses & nodenames are the same it may be better to use CNAME records in the new zone that just refer to the existing names.

2. Add a new "primary" line to the /etc/named.boot file that refers to the new zone file.

3. Restart named with "sig_named restart". Test somes queries to the new zone with nslookup.

4. If you wish the internet at large to have access to this name server and make queries to this new domain then the name server ip needs to be registered with the relevant authorities.

Regards,
Steve