Avatar of uilli
uilli

asked on 

changing dns server ip

I have a somewhat stupid question but I always seem to have hard time understanding how dns works

I have a windows server with dns set up for some  websites. this server address is lets say 1.1.1.100
Since I changed internet company I have to change its address to 2.2.2.100
Do I need to just change the address in dns properties and the ip address of the machine? will the parent dns's then discover the change of ip and update themselves automatically?

I also wanted to move the current dns server to a centos virtual machine with bind9
can I put the server in dmz and use a virtual ip in the firewall config using 2.2.2.100 pointing to the server ip address?

sorry for the intricate explanation but I really make confusion about this stuff
DNS

Avatar of undefined
Last Comment
uilli
Avatar of spiderwilk007
spiderwilk007
Flag of United States of America image

Yes, I think... if I understand you properly, you need to change the A records and any other records you have set up in DNS that point to the old IP address, whether that be you or godaddy or whoever you use for external DNS. You may or may not need to change the server IP address, if you use NAT through a firewall/router you can keep the same internal IP address. If the IP address of your server is 192.168.{something} or 10.{something} you likely do not need to change the server IP address, because this is all handled by your router.
Avatar of chakko
chakko
Flag of United States of America image


some questions.

Is your DNS server on the internet?  I think yes.

Do you have real websites on the internet that your DNS server has records for such as www, ftp, etc.


let's use myhome.com as a real domain/website you have.

You need to update the Domain Registrar account name server settings for myhome.com and point those DNS records to your new IP address.

If your myhome.com IP addresses for things such as www and ftp are the same, then you can leave those DNS records in your DNS server the same.  If those IP addresses changed then you need to update the DNS records in your DNS server.

As for moving the DNS into a VM there shouldn't be any issue with using the Virtual IP and pointing it to your server in a DMZ.  It's just a matter of correctly configuring your specific firewall and making the correct port forwarding rules.
Avatar of uilli
uilli

ASKER

the external dns is the one I'm changing and it is located at my office.
it currently has an external ip address but I wanted to put it in dmz

what I have hard time understanding is this:

If I have isp1 and the server has 10.10.10.100 ip (external)
I move to isp2 and I change the ip of the server to 20.20.20.100
how will the rest of the internet know I changed ip? is it isp1 and isp2 job to update their dns so that isp1 finds out my server is not responding and isp2 forwards my dns settings?
ASKER CERTIFIED SOLUTION
Avatar of chakko
chakko
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of spiderwilk007
spiderwilk007
Flag of United States of America image

It's the responsibility of your external DNS server to update other DNS servers. It takes approximately 24 hours for a DNS change to take affect on the Internet.
Avatar of uilli
uilli

ASKER

ok thank you very much for your help
DNS
DNS

The Domain Name System (DNS) is a hierarchical, globally distributed system responsible for associating the name of a computer, service or other resource into an IP address for connecting to the Internet or a private network. Most prominently, it translates domain names to the numerical IP addresses needed for the purpose of computer services and devices worldwide.

29K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo