NSLOOKUP ON IP ADDRESS

I would like to query DNS Server to find how many A records that have the same IP address.

example:

Comp1 = 10.10.10.10
Comp2= 10.10.10.10
CompX=10.10.10.10

thanks
jskfanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

collins23Commented:
nslookup

set type=ptr

10.10.10.10
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jskfanAuthor Commented:
what if there are records like MX or alias records withe the same IP address.

would they show up too ?

I have used your command:
nslookup
set type=ptr
10.10.10.10

it pulled up 2 ptr records, but I cannot tell what type of records they are, if A records, MX, alias....
any way to pull the record type too??
0
collins23Commented:
ptr records are reverse records.

basically all hostnames pointing to that ip address

alias wouldn't point directly to an ip address.

are you doing this for an internal dns ? or external dns that can be viewed from internet ?

if it is internal most likely mx will not be needed.

you might also want to test the

set type=any

ls domainname

to get a full listing of all your entries
0
Redefine Your Security with AI & Machine Learning

The implications of AI and machine learning in cyber security are massive and constantly growing, creating both efficiencies and new challenges across the board. Check out our on-demand webinar to learn more about how AI can help your organization!

collins23Commented:
try this also

nslookup -querytype=ptr 10.1.0.52

much better for you :

you can change between ptr, mx, cname to see results
0
OP_ZaharinCommented:
- the DNS Server appear to have registered multiple machines with same IP address might due to the leased period. do you configure "Scavenging" on your DNS server? it will help you clean up old unused records in DNS:
http://blogs.technet.com/b/networking/archive/2008/03/19/don-t-be-afraid-of-dns-scavenging-just-be-patient.aspx

- Chris-Dent also provides some tips on configuring  Aging and Scavenging:
http://www.experts-exchange.com/Networking/Windows_Networking/NT/Q_22655646.html

0
jskfanAuthor Commented:
thanks guys!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DNS

From novice to tech pro — start learning today.