Self defining domain
comware said 1 year, 1 month ago:
I have a domain ‘mydomain.com’ that has name servers ‘ns1.mydomain.com’ and ‘ns2.mydomain.com’. However, when I change the IP of the domain, how will it find name servers? I can not seem to use an absolute IP for a name server.
The ns1.mydomain.com implicitly uses the existing domain. How do I avoid that without using an absolute IP address for DNS servers?
JustinC said 1 year, 1 month ago:
@comware
You have to use a static IP for your nameservers. Otherwise, if it changes, you’ll have to update it or create new ones. The domain links to the nameservers which resolve to IP addresses. These are where the zone file and individual domain settings are. So if you update the IP address for the domain, like for where the site is hosted, within the zone file, it doesn’t effect the nameservers as they are static and should always resolve to the same IP addresses.
comware said 1 year, 1 month ago:
Yes, but I can’t enter a raw IP address in the nameservers for godaddy. (e.g., 12.44.120.4 gives an error). Is there another syntax for a plain IP address in a nameservers field?
comware said 1 year, 1 month ago:
How do you resolve ns1.comware.us if the underlying nameserver for comware.us changes?
timb said 1 year ago:
@comware
You are correct that you cannot enter an IP address as a nameserver for your domain, but you are able to do this within the Host Summary. It sounds like you have already done this as I was able to confirm your ns1 and ns2 nameservers are registered and your site is resolving. These custom nameservers you created are static and will resolve to the static IP address you listed.
Tim B
6 min expected wait time