DNS Record - Powershell

i been searching for a DNS Entry but cant seem to find it, tried multiple things.

any way to search for the entry via powershell and spit out the location?
Jorge OcampoAsked:
Who is Participating?

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

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.

Will SzymkowskiSenior Solution ArchitectCommented:
In server 2008 there are no native powershell cmdlets to use for DNS query. Scripting  Guy has created a script to accomplish this using Get-DnsEntry.ps1. See the below link for details.



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
Ganesamoorthy STech LeadCommented:
Use Nslookup to query DNS entry, use [no]recurse, [no]debug  for advance query


or user a object query using csvde or any other tool
Jorge OcampoAuthor Commented:
i basically trying to find an A Record and change the IP but cant find it at all - i am in the DNS Server the is providing that record
Will SzymkowskiSenior Solution ArchitectCommented:
If you are in the DNS console and you cannot simply find an A (host) record by sorting by type then the record is probably not there. The easiest way to see if an A Record exists is using PING.

Ping the A (host) record and it your DNS server cannot find it using the name try typing in the full fqdn server1.domain.com. If that does not work then the record is not in the zone.

Jorge OcampoAuthor Commented:
thanks everyone i found the answer using nslookup RECORD -type soa to get a authoritative answer
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

From novice to tech pro — start learning today.