Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

DNS-IP change

Ayanda
Occasional Contributor

DNS-IP change

Hi , I want to change the IP Adress of a DNS server and a Domain name ,

How do I go about doing this ?
If anyone is in Christ , he is a new creature the Old has gone , The new has come
5 REPLIES
Stefan Farrelly
Honored Contributor

Re: DNS-IP change


Simply edit the file /etc/resolv.conf and change the DNS server IP and your domain. Once you save this file it becomes active immediately.
Im from Palmerston North, New Zealand, but somehow ended up in London...
T G Manikandan
Honored Contributor

Re: DNS-IP change

change the domain name and ipaddress of your DNS server in your /etc/resolv.conf file

Try a nslookup

#nslookp
to reach the DNS server

THanks
Ayanda
Occasional Contributor

Re: DNS-IP change

Is it possible that a DNS server to have two names
e.g. Newschool.com
Oldschool.com

Because of the transition from the oldschool to the new scholl , and after a time (about 6 months) oldschool.com will disapear and newschool.com will remain for ever.
If anyone is in Christ , he is a new creature the Old has gone , The new has come
Ayanda
Occasional Contributor

Re: DNS-IP change

Is it possible that a DNS server to have two names
e.g. Newschool.com
Oldschool.com

Because of the transition from the oldschool to the new scholl , and after a time (about 6 months) oldschool.com will disapear and newschool.com will remain for ever?.
If anyone is in Christ , he is a new creature the Old has gone , The new has come

Re: DNS-IP change

Ayanda,

You could try using the search parameter in the /etc/resolv.conf and give both domains. Also give the two ip-adresses as nameserver, so the clients will look for the server which is available.

The only caveat is that the command nslookup will take some time when the first nameserver is offline (this is a flaw in nslookup and does not seriously delays the client).

Succes...
Jeen