.

Primary and Secondary DNS

<<

morpheus063

User avatar

Sr. Member
Sr. Member

Posts: 393

Joined: Sun Jun 25, 2006 10:08 am

Location: Cochin - India

Post Tue Sep 05, 2006 1:32 am

Primary and Secondary DNS

Hi All,

Recently I came across a book on Ethical Hacking. One of the chapters talk about DNS as follows:

"A DNS Server is basically a server running DNS software. The server that the browser first looks for a translation is the Primary DNS Server, if this doesn't show any match, then it contacts another DNS server somewhere on the Internet, or the Secondary DNS server. If a match is found on the Secondary server, then the Primary server updates its database so that it doesn't have to contact the Secondary server again for the same match."


I was under the impression that the browser will contact the Primary DNS Server and if the DNS Server is alive and not able to resolve the name, the browser will not contact the secondary DNS Server as the primary DNS server is running. The secondary DNS server is contacted only when the primary DNS server is down due to some reason.

After reading the above quoted paragraph, I am in a little bit confustion.

Please comment on this.

Regards,

The Morpheus
Manu Zacharia
MVP (Enterprise Security), ISLA-2010 (ISC)², C|EH, C|HFI, CCNA, MCP,
Certified ISO 27001:2005 Lead Auditor

[b]There are 3 roads to spoil; women, gambling & hacking. The most pleasant with women, the quickest with gambling, but the surest is hacking - c0c0n
<<

pcsneaker

Jr. Member
Jr. Member

Posts: 73

Joined: Mon Nov 07, 2005 12:23 pm

Post Tue Sep 05, 2006 2:13 am

Re: Primary and Secondary DNS

You are right. The authors of that book obviously don't have much clue about how  DNS works.
MCSA:Security (W2k, W2k3)
MCSE:Security (W2k, W2k3)
CPTS, Network+
<<

jimbob

Post Tue Sep 05, 2006 4:23 am

Re: Primary and Secondary DNS

Yes, I'd second that. Note that you'll only contact the secondary DNS server if the primary is unavailable. If the primary is up and a host/IP address lookup fails the client won't contact the secondary since it will have received an error message back from the primary.

Jim
<<

morpheus063

User avatar

Sr. Member
Sr. Member

Posts: 393

Joined: Sun Jun 25, 2006 10:08 am

Location: Cochin - India

Post Tue Sep 05, 2006 8:51 pm

Re: Primary and Secondary DNS

Hi All,

Thanks for the answer. I am planning to write to the Author and the Publisher of the Book regarding the wrong info.

However, for doing the same, I need some references or materials either from the Internet or some other resources. I have tried googling, but infortunately almost all of the articles talk about the Primary and Secondary DNS Zones rather than on the Primary and Secondary DNS Server name resolution approach or process. If any of you have come across any resources that explicitly says about the subject matter, plese post is there.

Regards,

The Morpheus
Manu Zacharia
MVP (Enterprise Security), ISLA-2010 (ISC)², C|EH, C|HFI, CCNA, MCP,
Certified ISO 27001:2005 Lead Auditor

[b]There are 3 roads to spoil; women, gambling & hacking. The most pleasant with women, the quickest with gambling, but the surest is hacking - c0c0n

Return to Network Pen Testing

Who is online

Users browsing this forum: No registered users and 1 guest

.
Powered by phpBB® Forum Software © phpBB Group.
Designed by ST Software