1751879 Members
5425 Online
108783 Solutions
New Discussion юеВ

Re: 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 5
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
Jeen Oppedijk
Advisor

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