'dig' command
I did a dig and I get this
Quote:
Whats the diff between Authority and Additional? Quote:
One concern I have, over another domain name (above), the additional section only contains one nameserver... how come? And ns3.phing is suppose to be primary.. why is it 2nd? Does it matter? My concerns maybe anal.. so please pardon me as i clear all these nitty gritty doubts |
Authority records are nameservers in charge of the record you requested. Additional records are just that: various other records gven for your convenience, such as the ip's of authorities. They are completely optional, and, strictly speaking, they could be anything.
Nameservers are returned in random order, it is to do some sort of load-balancing. |
then how does DNS work?
Does it... 1) ALways query Primary Server. Only query secondary if primary is down 2) ALternate between primary and secondary? Thanks |
It depends... Use a packet sniffer such as tcpdump or ethereal to be sure... I've often seen computers query the primary server then, after 0.5 seconds, query the secondary server. This behavior is not defined in dns and depends only on your resolver. Experiment with it.
|
Quote:
Guess I get concerned because I realise only the domains I setup points the nameserver the otherway round... on dig, the domains under me always show the secondary one first,.. or sometime.. just the secondary ones only! others that i know of... theirs always primary one first.. then secondary |
Quote:
Would I post Windows-only software on this forum? www.ethereal.org Quote:
|
meaning to say... there's no cause for concern? whether 'secondary' or 'primary'?
So for nameservers for domains.. does it work as such? 1) It will query 'primary' server until it fails, then to the next one 2) It will alternate between 'primary' and 'secondary' (or even more) periodically? Just curious... cos i have cases whereby i set the dns correct in the 1st one but not 2nd (secondary) one.. it took a week before it suddenly fail (cannot resolve domain name) thus i was wondering.. how exactly does dns work... |
Quote:
Quote:
Quote:
Quote:
|
All times are GMT -5. The time now is 03:24 PM. |