Link to home
Start Free TrialLog in
Avatar of coolnicks
coolnicks

asked on

DNS, NameServers being sub domain of whats they are NS's for

I have the domain coolnicks.co.uk. and a large number of other domains.

On coolnicks.co.uk two of the sub domains are ns0.coolnicks.co.uk and ns1.coolnicks.co.uk pointing to different DNS servers i host. all the other domains use these two sub domains of coolnicks as their DNS servers and some are very important meaning they cannot experience any down time.

At the moment the name servers for coolnicks.co.uk are done with a dynamic DNS service, what I would like to do is avoid this as it causes a number of extra lookups.

So what I would like to do is set the DNS servers of coolnicks.co.uk to ns0.coolnicks.co.uk and ns1.coolnicks.co.uk.

As I understand this will work ok as the root servers will provide glue and pass along the IPs as well (otherwise there will be an infinitive loop wont there?), the problem is how do the root servers get these IP's? Are they updated into the whois info...e.g. the registrar sends both the dns names and IPs to be stored, or do the root servers look up the IPs their selves. If so do they do then cache it or resolve it each time the name servers?

There is a possibility one of the IPs will change from time to time, so will i have to update the whois name server info or will the root servers auto do this?

I hope that is understand-able and somebody can answer it :)

Nick
ASKER CERTIFIED SOLUTION
Avatar of kain21
kain21
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of coolnicks
coolnicks

ASKER

>>The IP Addresses for your Name Servers are registered with your Naming Authority, these are added to one of the Root Name Servers.

So the root dns servers store the ip and dns?

>>If your Name Server addresses change you will need to handle a manual change with your domain registrar - depending on which one you use of course.

So the IPs stored in the root dns wont change if the ip of the dns changes and i have to manualy update them?

Cheers

Nick

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

The Root Servers store really basic information, only the Name Server addresses or a place you can find the name server addresses. They don't store anything else (like www etc) your server is required to answer questions about those addresses.

Yes you have to manually update them - although that method varies depending on which Naming Authority you use and you're best asking whatever registrar you used to buy the domain.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
kain21.....that is the answer im looking for :)

so does the root dns server cache the IP of the ns record or look it up each time from my dns server?

would it take the normal 24-48 hours to propagate the new ip for the ns record?

Some registrars ask for the dns and ip of both nameservers (the rest look it up??), why is this if they only need the dns of the ns's?

Although....ive just thought.... in a normal dns file under the ns section it stores both the dns and ip :s

Nick

Kain21 is right, I just need to figure out how the registrar gets the IP addresses for your name servers. Sorry for the misleading (or wrong) information.

:)

Nick,

I'm testing the IP change now... network solutions caches the record... if you adjust your TTL value to an hour or two it will increase the number DNS request to your server but IP changes like the one you are talking about will propagate quicker...

Name Server Records have a (default) cache time of 2 days.

Really any change to the TTL at least that far (2 days) in advance so the cached records elsewhere else in the world have had a chance to expire.

You can see the TTL on a record from NSLookup by using "set debug".
kain21 ... did you get the results of testing the IP change? just looking in my DNS server and it looks like the TTL is 2day atm.

From what you have both said i think i may try and change it over tommorow to see what happends.

Keep the comments coming tho is there is anything else :)

Nick
Yeah.. my TTL was 24 hours... it updated accordingly...
Thanks all

Running nice and smoothly now