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.

June Castillote Avatar June Castillote

7 min. read

AD DNS forwarders: Managing and Automating with PowerShell

Learn, the AD DNS forwarders and how you can manage them in your environment as an important part of your DNS infrastructure

David Lamb Avatar David Lamb

4 min. read

How to use PowerShell for DNS Records

Learn how to use PowerShell for DNS Records.

David Lamb Avatar David Lamb

5 min. read

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!

Adam Bertram Avatar Adam Bertram

3 min. read

Manage DNS Zones With PowerShell

If you find yourself making changes on your Microsoft DNS servers using the DNS MMC snapin you're probably wasting a lot of time.

Adam Bertram Avatar Adam Bertram

3 min. read

How to Test Dynamic DNS for a Client

Here's a PowerShell script to help you connect to remote computers and help you how to test dynamic dns to ensure it is working properly.

Adam Bertram Avatar Adam Bertram

4 min. read

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 8.8.8.8, 4.2.2.2 and 4.2.2.3.

Adam Bertram Avatar Adam Bertram

2 min. read

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.

Adam Bertram Avatar Adam Bertram

< 1 min. read

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.

Adam Bertram Avatar Adam Bertram

3 min. read

Fix Dynamic DNS Record Permissions Automagically

Stay tuned in this article for how to modify DNS record permissions and fix them automatically using PowerShell.

Adam Bertram Avatar Adam Bertram

3 min. read

Managing DNS Records via Powershell

Before you get going with managing DNS with PowerShell I'm assuming you're not going to doing this directly on a server. If you are, shame on you! With PowerShell, you should never have to be on the console!

Adam Bertram Avatar Adam Bertram

3 min. read

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.

Adam Bertram Avatar Adam Bertram

3 min. read

Subscribe to Adam the Automator

Get the latest posts delivered right to your inbox