Solved

Multiple PTR records?

Posted on 2010-08-19
7
923 Views
Last Modified: 2013-11-25
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
Comment
Question by:kam_uk
  • 3
  • 3
7 Comments
 
LVL 74

Assisted Solution

by:Glen Knight
Glen Knight earned 100 total points
Comment Utility
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
 
LVL 3

Author Comment

by:kam_uk
Comment Utility
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
 
LVL 25

Expert Comment

by:DrDave242
Comment Utility
Ping will only return one address, but nslookup will list them all.
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 3

Author Comment

by:kam_uk
Comment Utility
Thanks, but what command would I need for NSLOOKUP to list them all?

Just

NSLOOKUP <IP>

?
0
 
LVL 25

Accepted Solution

by:
DrDave242 earned 400 total points
Comment Utility
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
 
LVL 3

Author Comment

by:kam_uk
Comment Utility
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
 
LVL 25

Expert Comment

by:DrDave242
Comment Utility
That's it exactly.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now