Link to home
Start Free TrialLog in
Avatar of Alkesh Patel
Alkesh Patel

asked on

Simple method to search Microsoft internal DNS

I am looking for a way to search DNS from the command prompt or power shell.  This is for our service desk to search for a computer name with only partial information, for example they would search for all DNS entries that begin with nbcolaa when the full hostname is nbcolaapatel.  It would be OK if there was a way to do it from a web portal as well.  My service desk only needs to search and view the info, so they wont be changing anything.  

Today I have a script that does exactly what i am asking.  They launch a command prompt and type "ip nbcolaa" and it lists all hostnames that match that along with the address of those.  However we just implemented OpenDNS which uses their own virtual appliance for DNS.  They do not support dns zone transfers so my script is broken now.  So I am looking to see if anyone else does this differently or better.

I attached my existing script if that is helpful.  Thanks in advance.
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

no attachment
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.