Solved

recreate nameserver on new ip

Posted on 2013-12-09
10
323 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

617 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