Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

recreate nameserver on new ip

Posted on 2013-12-09
10
Medium Priority
?
327 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
Lessons on Wi-Fi & Recommendations on KRACK

Simplicity and security can be a difficult  balance for any business to tackle. Join us on December 6th for a look at your company's biggest security gap. We will also address the most recent attack, "KRACK" and provide recommendations on how to secure your Wi-Fi network today!

 
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 2000 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

Lessons on Wi-Fi & Recommendations on KRACK

Simplicity and security can be a difficult  balance for any business to tackle. Join us on December 6th for a look at your company's biggest security gap. We will also address the most recent attack, "KRACK" and provide recommendations on how to secure your Wi-Fi network today!

Question has a verified solution.

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

I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses
Course of the Month7 days, 17 hours left to enroll

824 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