Solved

recreate nameserver on new ip

Posted on 2013-12-09
10
320 Views
Last Modified: 2013-12-11
hi all

am moving from a VPS to a dedicated server and need the domains to link over to the new hosting but i dont have the logins for some of the old domains. The domains use my nameservers on the VPS so i was thinking...

if i recreate a nameserver to use the IP of my dedicated server then will the old domains that are using the nameserver link to the new ip? or will they get confused and still be set to the old ip?

can you see any problems with this?
0
Comment
Question by:helpchrisplz
  • 5
  • 5
10 Comments
 
LVL 19

Expert Comment

by:xterm
ID: 39706346
If you have a registered hostname for the VPS (ie. NS1.YOURDOMAIN.COM) then you only need to change that in the root to the IP of the new dedicated server, and all the domain queries will then follow the change.

On the other hand, if every domain is different (ie. NS1.DOMAIN1.COM) and you are unable to login to the registrar site for that domain, then you will have to set up a forwarder on the VPS to the new dedicated server for each domain.
0
 
LVL 1

Author Comment

by:helpchrisplz
ID: 39706354
the vps will be taken down so the nameserver: ns1.tseoc.co.uk will be moved to the new server on new ip
0
 
LVL 19

Expert Comment

by:xterm
ID: 39706371
Do all the domains have NS1.TSEOC.CO.UK listed as their primary DNS server?

If so, all you have to do is make one single change to the registered DNS server name above and change it from the old IP to the new one.

You will need the VPS to stay up for at least one day after the new dedicated server is set up however, otherwise you will affect service.
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 1

Author Comment

by:helpchrisplz
ID: 39706381
i only have till midnight tomorro. will it be ok to have the nameserver die with the VPS on the VPS ip and set up on new dedi later?
0
 
LVL 19

Expert Comment

by:xterm
ID: 39706423
As soon as the nameserver dies on the VPS, your domains will stop working, but after you change the registered hostname for ns1.tseoc.co.uk to the new IP on the VPS, they should all start working again.
0
 
LVL 1

Author Comment

by:helpchrisplz
ID: 39712296
Hi xterm sorry been busy i managed to get the server extended to friday night.
just reread your posts.

yes all the domains have NS1.TSEOC.CO.UK listed as their primary DNS server
and they also have NS2.TSEOC.CO.UK

When you say "change the registered hostname for ns1.tseoc.co.uk"

Does that mean i need to change the ip on the A record in my plesk panel (on old server) for the domain tseoc.co.uk and then make sure on the new server to have the A records on tseoc.co.uk to have the new ip allso?

do i change any other records?

This will be my last post then i will accept the solution.

these are the dns records for tseoc.co.uk on the old server:

*.webmail.tseoc.co.uk.	CNAME	tseoc.co.uk.
	109.228.22.174 / 24	PTR	tseoc.co.uk.
	_domainkey.tseoc.co.uk.	TXT	o=~
	default._domainkey.tseoc.co.uk.	TXT	p=MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhANBYuCLtB63u4Vs9iPGtfvOA50NzQ/XPPxobhvh46gWfHl1MkiL7f49S4+W4NhD5HKrE5qDOPZQFlyNYDiS1TJtLrU3EgCVLba1D25UE0GznxB7LH4O6CjxhxjlkwF6S4wIDAQAB;
	ftp.tseoc.co.uk.	CNAME	tseoc.co.uk.
	mail.tseoc.co.uk.	A	109.228.22.174
	ns1.tseoc.co.uk.	A	109.228.22.174
	ns2.tseoc.co.uk.	A	109.228.22.227
	tseoc.co.uk.	NS	ns1.tseoc.co.uk.
	tseoc.co.uk.	NS	ns2.tseoc.co.uk.
	tseoc.co.uk.	A	109.228.22.174
	tseoc.co.uk.	MX (10)	mail.tseoc.co.uk.
	tseoc.co.uk.	TXT	v=spf1 ip4:91.216.18.0/24 +a +mx -all
	webmail.tseoc.co.uk.	A	109.228.22.174
	www.tseoc.co.uk.	CNAME	tseoc.co.uk.

Open in new window


This is what the tseoc.co.uk domain has on the new server (plesk DNS)

*.webmail.tseoc.co.uk.	CNAME	tseoc.co.uk.
88.208.248.91 / 24	PTR	tseoc.co.uk.
	_domainkey.tseoc.co.uk.	TXT	o=-
	default._domainkey.tseoc.co.uk.	TXT	p=MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhANBYuC
LtB63u4Vs9iPGtfvOA50NzQ/XPPxobhvh46gWfHl
1MkiL7f49S4+W4NhD5HKrE5qDOPZQFlyNYDiS1TJ
tLrU3EgCVLba1D25UE0GznxB7LH4O6CjxhxjlkwF
6S4wIDAQAB;
	ftp.tseoc.co.uk.	CNAME	tseoc.co.uk.
	mail.tseoc.co.uk.	A	88.208.248.91
	ns1.tseoc.co.uk.	A	88.208.248.91
	ns2.tseoc.co.uk.	A	88.208.248.91
	tseoc.co.uk.	NS	ns1.tseoc.co.uk.
	tseoc.co.uk.	NS	ns2.tseoc.co.uk.
	tseoc.co.uk.	A	88.208.248.91
	tseoc.co.uk.	MX (10)	mail.tseoc.co.uk.
	tseoc.co.uk.	TXT	v=spf1 ip4:91.216.18.0/24 +a +mx -all
	webmail.tseoc.co.uk.	A	88.208.248.91
	www.tseoc.co.uk.	CNAME	tseoc.co.uk.

Open in new window



am going to change these records on the old server now:
ns1.tseoc.co.uk.      A      109.228.22.174
      ns2.tseoc.co.uk.      A      109.228.22.227

to

ns1.tseoc.co.uk.      A      88.208.248.91
      ns2.tseoc.co.uk.      A      88.208.248.91


hope this is correct :O ?
0
 
LVL 19

Accepted Solution

by:
xterm earned 500 total points
ID: 39712332
Yes and no.

You will need to change the A and NS records for ns1 and ns2.tseoc.co.uk in your panel, but this will have no effect unless you change the actual REGISTERED name/IP combination with whois.nic.uk.

So you will have to log in there, and change their records for ns1/2.tseoc.co.uk to point to the new IP addresses.

Right now, if you do a whois lookup on the tseoc.co.uk domain, it returns this:

    Name servers:
        ns1.tseoc.co.uk           109.228.22.174
        ns2.tseoc.co.uk           109.228.22.227

You have to change that with your registrar.  This is what the rest of the world uses to locate the IP of your DNS servers, so they know where to send the queries to for the other names, like www, mail, etc.
0
 
LVL 1

Author Comment

by:helpchrisplz
ID: 39712372
ok i just changed the ip glue record for tseoc.co.uk at the fasthost panel that i bought the domain through.

sorry need to ask on more quick thing :P

you see how the ns1 and ns2 did have 2 ips  "174" at the end of the ip and "227"

well i think my new server only has one ip and i just set both the namervers on the new bedi box to have exactly the same ip and not 2 different ones:

ns1.tseoc.co.uk.      A      88.208.248.91
      ns2.tseoc.co.uk.      A      88.208.248.91

is that ok or will i have to add another shared ip to the server?
0
 
LVL 19

Expert Comment

by:xterm
ID: 39712386
You can just delete the record for ns2 since it will be pointless anyway if you only have one server.

However I do recommend setting up a secondary DNS server and adding that record back at some point if you do a lot of business using your domain name.
0
 
LVL 1

Author Closing Comment

by:helpchrisplz
ID: 39712396
thankssssssssss!  awesome answers.
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question