Hello and welcome to CertForums.co.uk, here we host free active certification forums with links to the best free resources for Microsoft's MCSA MCSE MCDBA Cisco's CCNA CCDA and CCNP, and CompTIA's A+ Network+ i-NET+ and Security+ certifications in the UK. If you wish to post or use other advanced features you will need to register first. Registration is absolutely free and takes only a few minutes to complete so sign up today!

If you have any problems with the registration process or your account login, please contact support

Go Back   CertForums > Certification Forums > Microsoft Certification Forums > Network Infrastructure
Home Forums Register Search Today's Posts Mark Forums Read

Wierd Issue .. Plz help

Post New ThreadReply
 
Thread Tools Display Modes
  #1  
Old 07-Apr-2008, 11:27 AM
stolenblessing's Avatar
stolenblessing stolenblessing is offline
New Member
Posts: 44
Points: 0 stolenblessing has no points
Power: 2
None
Join Date: 18 Oct 2007
Location: India
Certifications: CCNA, MCP (70-290)
WIP: 70-291
Exclamation Wierd Issue .. Plz help

Hello folks..

I have a strange problem. I am pinging a hostname it gives me one IP address, say 10.9.76.14; when I am ping the IP 10.9.76.14 with -a option, it is giving a different FQDN. Why so?

Any idea...


Stolen Blessing

"It is not enough to have a good mind. The important thing is to use it well."
 
Reply With Quote
  #2  
Old 07-Apr-2008, 11:38 AM
dmarsh26's Avatar
dmarsh26 dmarsh26 is online now
Longterm Member
Posts: 988
Points: 1847 dmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 points
Power: 30
None
Join Date: 24 May 2007
Location: Hampshire
Age: 34
Certifications: One or two...
WIP: Girlfriend+
Is it possible to get CCNA without understanding reverse DNS lookup ?

From my understanding you can have multiple forward lookups map to the same IP, but you only get one reverse lookup.



Last edited by dmarsh26 : 07-Apr-2008 at 11:41 AM.
 
Reply With Quote
  #3  
Old 07-Apr-2008, 11:56 AM
hbroomhall hbroomhall is offline
Premium Member
Posts: 6,163
Points: 2130 hbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 pointshbroomhall has over 2000 points
Power: 88
None
Join Date: 08 Sep 2005
Location: Tunbridge Wells, Kent
Certifications: ECDL A+ Network+ i-Net+
WIP: Server+
Another possibility is when pinging a CNAME.

Mind you - not sure about the '-a' option - I thought that just made an audible sound!

Edit: Ah - a Windows oddity!

Harry.

 
Reply With Quote
  #4  
Old 07-Apr-2008, 06:01 PM
BosonMichael's Avatar
BosonMichael BosonMichael is online now
Certification Guru
Posts: 10,646
Points: 5098 BosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 points
Power: 160
None
Join Date: 02 Nov 2006
Location: near Nashville, TN
Age: 38
Certifications: MCSE+I, MCSE: Securi.. huh? out of room?
WIP: Just about everything!
Quote:
Originally Posted by dmarsh26 View Post
Is it possible to get CCNA without understanding reverse DNS lookup ?
Unfortunately, yes.


BosonMichael
MCSE+I, MCSE: Security, MCDST, MCDBA, OCP, CCNP, CCDP, CNE, SCSA, Security+, Linux+, Server+, Network+, A+
Served proudly, US Army, 98C Intelligence Analyst, '89-'92
 
Reply With Quote
  #5  
Old 09-Apr-2008, 06:16 AM
stolenblessing's Avatar
stolenblessing stolenblessing is offline
New Member
Posts: 44
Points: 0 stolenblessing has no points
Power: 2
None
Join Date: 18 Oct 2007
Location: India
Certifications: CCNA, MCP (70-290)
WIP: 70-291
Quote:
Originally Posted by dmarsh26 View Post
Is it possible to get CCNA without understanding reverse DNS lookup ?

From my understanding you can have multiple forward lookups map to the same IP, but you only get one reverse lookup.
I checked the DNS Reverse Lookup Zone, and the two hostnames are mapped to different IP addresses..
But the question still remains unanswered, why did I get the "strange" ping results..


Stolen Blessing

"It is not enough to have a good mind. The important thing is to use it well."
 
Reply With Quote
  #6  
Old 09-Apr-2008, 07:27 AM
dmarsh26's Avatar
dmarsh26 dmarsh26 is online now
Longterm Member
Posts: 988
Points: 1847 dmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 points
Power: 30
None
Join Date: 24 May 2007
Location: Hampshire
Age: 34
Certifications: One or two...
WIP: Girlfriend+
Ok, my understanding of DNS is not legendary, but heres my basic understanding :-

An A record or address record maps a hostname to a 32-bit IPv4 address.

A CNAME record or canonical name record is an alias of one name to another. The A record to which the alias points can be either local or remote - on a foreign name server. This is useful when running multiple services (such as an FTP and a webserver) from a single IP address. Each service can then have its own entry in DNS (like ftp.example.com. and www.example.com.)

A PTR record or pointer record maps an IPv4 address to the canonical name for that host. Setting up a PTR record for a hostname in the in-addr.arpa domain that corresponds to an IP address implements reverse DNS lookup for that address.

So you normally have one A-record, optionally one or more CNAME records and one PTR record for an IP.

The A and CNAME records are used for forward lookups meaning multiple domains can map to one IP.
The PTR record is used for reverse lookups, meaning one IP maps to domain/hostname.

Thats the common case, turns out you can have multiple PTR records which is new to me, but its not reccomended, maybe theres a valid use if you have some funky requirement !

http://en.wikipedia.org/wiki/Domain_Name_System
http://en.wikipedia.org/wiki/Reverse_DNS_lookup
http://www.digitalpoint.com/lists/19361.html


 
Reply With Quote
  #7  
Old 09-Apr-2008, 08:57 AM
stolenblessing's Avatar
stolenblessing stolenblessing is offline
New Member
Posts: 44
Points: 0 stolenblessing has no points
Power: 2
None
Join Date: 18 Oct 2007
Location: India
Certifications: CCNA, MCP (70-290)
WIP: 70-291
Is it possible that the command "ping <hostname>" is referring to the local HOSTS file.

And when I am using the command "ping -a <IP address>", it is referring to the DNS server (a reverse lookup)


Thank you.


Stolen Blessing

"It is not enough to have a good mind. The important thing is to use it well."
 
Reply With Quote
  #8  
Old 09-Apr-2008, 09:29 AM
dmarsh26's Avatar
dmarsh26 dmarsh26 is online now
Longterm Member
Posts: 988
Points: 1847 dmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 pointsdmarsh26 has over 1500 points
Power: 30
None
Join Date: 24 May 2007
Location: Hampshire
Age: 34
Certifications: One or two...
WIP: Girlfriend+
Yep, I was assuming nothing in your hosts file but yes, forward lookups can be resolved locally or from your designated DNS server. So again depending on location of the name query the results can change.

Its the same thing essentially just you are using your hosts file and not a DNS server with an A or CNAME record.

Essentially you can configure you hosts file or records to resolve to anything. If configure them to be asymetric thata your fault !

In a normal correct config it will resolve to the A record. If you were doing your forward lookup with a CNAME the you'd then notice the difference.

Thats what people have been saying all along.


 
Reply With Quote
  #9  
Old 09-Apr-2008, 09:57 AM
stolenblessing's Avatar
stolenblessing stolenblessing is offline
New Member
Posts: 44
Points: 0 stolenblessing has no points
Power: 2
None
Join Date: 18 Oct 2007
Location: India
Certifications: CCNA, MCP (70-290)
WIP: 70-291
Thanks for the reply.

I checked the hosts file, but that is no record for hostname to IP address mapping..

This is making my head spin.....


Stolen Blessing

"It is not enough to have a good mind. The important thing is to use it well."
 
Reply With Quote
  #10  
Old 09-Apr-2008, 10:13 AM
Stoney's Avatar
Stoney Stoney is offline
Longterm Member
Posts: 706
Points: 784 Stoney has over 500 pointsStoney has over 500 pointsStoney has over 500 pointsStoney has over 500 pointsStoney has over 500 pointsStoney has over 500 pointsStoney has over 500 points
Power: 19
None
Join Date: 13 Jun 2006
Location: Nottingham
Age: 28
Certifications: 25 + 50 metre front crawl
WIP: MCSA - Exam 70-270
Can you nslookup the IP on the DNS server and see what records are stored relating to that IP?


Printed on 100% recycled forum posts.
 
Reply With Quote
  #11  
Old 10-Apr-2008, 06:25 AM
stolenblessing's Avatar
stolenblessing stolenblessing is offline
New Member
Posts: 44
Points: 0 stolenblessing has no points
Power: 2
None
Join Date: 18 Oct 2007
Location: India
Certifications: CCNA, MCP (70-290)
WIP: 70-291
Quote:
Originally Posted by Stoney View Post
Can you nslookup the IP on the DNS server and see what records are stored relating to that IP?
i'll try that and get back to u. Thanks


Stolen Blessing

"It is not enough to have a good mind. The important thing is to use it well."
 
Reply With Quote
  #12  
Old 10-Apr-2008, 06:42 AM
Stoney's Avatar
Stoney Stoney is offline
Longterm Member
Posts: 706
Points: 784 Stoney has over 500 pointsStoney has over 500 pointsStoney has over 500 pointsStoney has over 500 pointsStoney has over 500 pointsStoney has over 500 pointsStoney has over 500 points
Power: 19
None
Join Date: 13 Jun 2006
Location: Nottingham
Age: 28
Certifications: 25 + 50 metre front crawl
WIP: MCSA - Exam 70-270
I would expect that you have some stale records in your DNS zones. If you have access to the DNS server I would look through the zones and search for the records that are mapped to that IP.

It could well be that you have had something registering with dynamic DNS that hasn't removed it's old record, or just poor house keeping on the server itself.


Printed on 100% recycled forum posts.
 
Reply With Quote
  #13  
Old 14-Apr-2008, 10:00 AM
kevicho kevicho is offline
Valued Member
Posts: 358
Points: 968 kevicho has over 500 pointskevicho has over 500 pointskevicho has over 500 pointskevicho has over 500 pointskevicho has over 500 pointskevicho has over 500 pointskevicho has over 500 pointskevicho has over 500 points
Power: 13
None
Join Date: 07 Feb 2008
Location: Rotherham, UK
Age: 28
Certifications: MCSA (A+/N+/270/290/291), HND, CCENT
WIP: CCNA/MCSE/Driving Licence
Quote:
Originally Posted by Stoney View Post
I would expect that you have some stale records in your DNS zones. If you have access to the DNS server I would look through the zones and search for the records that are mapped to that IP.

It could well be that you have had something registering with dynamic DNS that hasn't removed it's old record, or just poor house keeping on the server itself.
I would check the following.

Local machine
Go to the Dos prompt, enter ipconfig /displaydns, this will show any cached records locally, if its in here wrong, do a /flushdns to clear it out, that should eliminate a local caching problem, ping it again, if it works cool, if not go to the server (do a flushdns again once any server modifications are done)

First thing to do on the server is ping again, will isolate the problem either ways.

In DNS console check the server zones (reverse lookup is the main one here), if the records are in here correctly, check out the server cache in the DNS console.
To do this you will have to put it into advanced mode (to make the cache folder appear - right click a zone - view - advanced), if it is in here wrong, delete it

Look in the arpa folder (as that is usually the reverse lookup zone)

There will be a number for that IP address somewhere.

If they are in the zone wrong, delete them and restart that host, or for speed do ipconfig /registerdns to update the dns records.

If the host is windows and not xp/2k etc then check your DHCP dns tab, for dynamic updates (make sure both a and ptr records are updated dynamically) finally if the host is unix then i would either create the ptr record manually, or better yet, check the option is to make the a (host) record update the ptr record.

Some step by step things to try here, hopefully will be of some use.

 
Reply With Quote
Post New ThreadReply Spread this thread: Submit this thread to digg Submit this thread to del.icio.us


Go Back   CertForums > Certification Forums > Microsoft Certification Forums > Network Infrastructure


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Security Issue? nXPLOSi Security & Viruses 7 27-Mar-2008 01:41 PM
Poweredge/IDS issue issue morph Linux / Unix Discussion 5 15-Jan-2008 01:24 PM
Is this an issue? greenbrucelee Software 9 14-Jan-2008 10:06 PM
wyse S50 terminal citrix issue dales Hardware & Upgrading 5 03-Jan-2008 01:47 PM
Word 2003 Issue Arroryn Software 3 02-Jan-2008 08:29 PM


All times are GMT. The time now is 10:47 PM.

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
CertForums.co.uk (C) copyright 2003-2007 All Rights Reserved. Content published on CertForums.co.uk requires permission for reprint.
Hosted by Lunarpages