1838378 Members
4444 Online
110125 Solutions
New Discussion

Re: Domain Changing

 
SOLVED
Go to solution
Jim Lynn_1
Occasional Advisor

Domain Changing

We are changing the domain with the next network upgrade. Is the only change for domain name in the named.boot file and the resolv.conf ?
4 REPLIES 4
Ross Zubritski
Trusted Contributor

Re: Domain Changing

Don't forget /etc/hosts ;)

Regards

RZ
Sridhar Bhaskarla
Honored Contributor

Re: Domain Changing

Hi Jim,

If you are talking about DNS clients, then there would be no named.boot. Just change resolv.conf to point to the new domain. If you hardcoded your /etc/hosts file, then you will need to change it too.

If you are talking about DNS server, then you will need to regenerate your named.boot by running hosts_to_named.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Steven E. Protter
Exalted Contributor

Re: Domain Changing

It is possible under HP-UX to go to fully qualified host names.

for example server frack becomes frack.yourdomain.net

change /etc/rc.confid.d/netconf and the job is done.

All of the above posted steps are required as well.

If any of your UX boxes do DNS I recommend going with Bind 9.2.1

https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=BIND9.2&date=

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Wilfred Chau_1
Respected Contributor
Solution

Re: Domain Changing

If you have configure a DNS,
you need to change the following:

1) vi /etc/named.data/param

change -d domain.old
to
-d domain.new

2) vi named.boot on secondary DNS

3) check uname -a & hostname
if you see the old domain, of course, change it. :-)

4) /etc/hosts