Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 63 guests online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow Primary and Secondary DNS
EH-Net
May 22, 2013, 10:23:29 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Primary and Secondary DNS  (Read 4819 times)
0 Members and 1 Guest are viewing this topic.
Manu Zacharia (-M-)
Sr. Member
****
Offline Offline

Posts: 393


c0c0n Hacking Conference - where hackers unite


View Profile WWW
« on: September 05, 2006, 01:32:22 AM »

Hi All,

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

Quote
"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
Logged

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

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
**
Offline Offline

Posts: 73


View Profile
« Reply #1 on: September 05, 2006, 02:13:09 AM »

You are right. The authors of that book obviously don't have much clue about how  DNS works.
Logged

MCSA:Security (W2k, W2k3)
MCSE:Security (W2k, W2k3)
CPTS, Network+
jimbob
Guest
« Reply #2 on: September 05, 2006, 04:23:10 AM »

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
Logged
Manu Zacharia (-M-)
Sr. Member
****
Offline Offline

Posts: 393


c0c0n Hacking Conference - where hackers unite


View Profile WWW
« Reply #3 on: September 05, 2006, 08:51:51 PM »

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
Logged

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

There are 3 roads to spoil; women, gambling & hacking. The most pleasant with women, the quickest with gambling, but the surest is hacking - c0c0n
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.054 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.