Tag: Microsoft DNS
Resolve-DnsName: Monitoring DNS Records using PowerShell
If you're managing web or mail servers, you know how heavily these servers rely on adequately configured DNS records. Missing DNS records can cause all sorts of problems, including users not being able to find your website or non-delivery of emails. It is a good thing that the PowerShell Resolve-DnsName cmdlet exists, and with it, monitoring DNS records can be automated through scripting.
Using PowerShell to set DNS search order on Windows
Do you need to set the DNS search order on a whole bunch of workstations or servers? Do you have PowerShell? Then you're in luck because I'm about to show you how to use PowerShell to set DNS search order on lots of machines at once!
Tracking Down Iterative Public DNS Queries
At my client, they have an Active Directory domain with a few domain controllers which are also DNS servers. They all run Windows Server 2008 R2. All of these DNS servers/domain controllers all have forwarders enabled on them using the typical 188.8.131.52, 184.108.40.206 and 220.127.116.11.
How to Add an ACE Permission to DNS PTR Records
I had a request from a previous blog post on if it's possible to change permissions on reverse (PTR) Active Directory-integrated DNS records. Of course! This is just a quick example of how you can add either Full Control or Modify rights to a specific AD user account to a PTR record.
Report on Stale DNS Records with PowerShell
I've been needing a reliable script that I can run to easily find all of the dynamic DNS records in risk of being scavenged in my client's environment. This is a script that came out of unfortunate necessary when records were being removed via DNS scavenging and no one knew why. I believe I resolved all of the problems that were going on but now I just need a monitoring script.
Making Sense of the Microsoft DNS Debug Log
One of the first things you should do when troubleshooting a problem like this is to enable DNS debug logging. You've got a ton of different options to debug but in my case, I need more information regarding dynamic updates. This is what my configuration looks like on one of my DNS servers.