Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 950
  • Last Modified:

Multiple PTR records?

Hello

I had a question re. DNS I was hoping someone could help me out with.

i) Is it possible for a host to have more than PTR record?
ii) Is it possible for an IP address to have more than one A record?

The answers should be relevant to:

i) Microsoft AD DNS
ii) UNIX DNS (QIP)
iii) WINS

Many thanks!
0
kam_uk
Asked:
kam_uk
  • 3
  • 3
2 Solutions
 
Glen KnightCommented:
An IP Address can have as many A records as you like.
you can also have more than one PTR records, why you would want to I don't know.
0
 
kam_ukAuthor Commented:
Hi Demazter

Thanks..

If I didn't have access to the DNS system itself, do you know how I can find out what those multiple values were? I assume if I used PING and NSLOOKUP, I would only be returned one value at a time?
0
 
DrDave242Commented:
Ping will only return one address, but nslookup will list them all.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
kam_ukAuthor Commented:
Thanks, but what command would I need for NSLOOKUP to list them all?

Just

NSLOOKUP <IP>

?
0
 
DrDave242Commented:
I prefer to use nslookup in interactive mode, but I've been doing some testing, and here's what I've found:

(Note that these tests were performed on a Windows 2003 R2 DC.  It's possible that 2008 and/or 2008 R2 will give different results, and I know next to nothing about UNIX, BIND, or anything of that sort.)

"Nslookup <hostname>" will return all IP addresses in host records with that name.
Nslookup in interactive mode (ie., typing "nslookup" <Enter> "<hostname>" <Enter>) will do the same.
"Nslookup <IP_address>" will only return one hostname for that address.
Nslookup in interactive mode does two things: If you simply enter interactive mode and then type the IP address, it will only return one hostname.  However, if you explicitly set the query type to PTR ("set q=ptr" in interactive mode) and then enter the IP address, it will return all PTR records with that address.  There's probably a way to set the query type in non-interactive mode as well, but being a fan of interactive mode, I don't know of it.
0
 
kam_ukAuthor Commented:
Thanks... Just to be sure what you mean about interactive mode for multiple PTR returns, would be something like this:

Nslookup

Set type=ptr

0
 
DrDave242Commented:
That's it exactly.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

NEW Internet Security Report Now Available!

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out this quarters report on the threats that shook the industry in Q4 2017.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now