Adding DNS Servers in All DHCP Scopes using PowerShell

To Get all Scopes – Open PowerShell – Run as Administrator Get-DhcpServerv4Scope To Check DNS Servers Option 006 Get-DhcpServerv4Scope| Get-DhcpServerv4OptionValue| Where-Object{$_.OptionID -like6} | FT Value To Check – Whatif Get-DhcpServerv4Scope| Set-DhcpServerv4OptionValue-DnsServer172.21.10.20,172.21.10.21,10.10.11.10,10.10.11.11 –Whatif To Apply Get-DhcpServerv4Scope| Set-DhcpServerv4OptionValue-DnsServer172.21.10.20,172.21.10.21,10.10.11.10,10.10.11.11 To Check if its Applied or Not Get-DhcpServerv4Scope| Get-DhcpServerv4OptionValue| Where-Object{$_.OptionID -like6} | FT Value You can see 006 DNS Servers Updated for all scopes

Read more

Get DNS server IP’s using PowerShell

On servers, we use static IP configuration and static DNS configuration. If you have multiple sites in your environment, this list of DNS server IPs will vary from one site’s server to another. Given these, we sometimes end up with incorrect DNS IP entries in some of the servers. The script I am going to discuss will help you query […]

Read more

Step by Step Implementing DNS Security in Windows Server 2016

Since DNS is a critical network service, as a Server Administrator you must protect it as much as possible. A number of options are available for protecting the DNS server, including :• DNS cache locking• DNS socket pool• DNSSEC Before we start the step by step to implement the DNS Security, lets go through a theory behind this technology. DNS Cache Locking Cache locking is […]

Read more

How to Install DNS Server on Windows Server 2016

When you install windows server it is just a box, nothing it there like services, if you want to use the services you should install and configure them manually whether DHCP or DNS or other services. The DNS stands for Dynamic Host Configuration Protocol and when you create an account on a server or domain controller, your computer, and the server […]

Read more

DNS Records

A Record The majority of DNS records are “A” records. A records allow for you to point different sections of your domain to different IP addresses or servers. For example, this would be useful for having “www.domain.com” point to your web server’s IP address and “mail.domain.com” point to your mail server’s IP address. Each record includes a “Host Name” value […]

Read more

Testing Connectivity and DNS Changes with a Hosts File

Many Exchange Server migration scenarios involve making DNS changes that can impact a very large number of customers at once if they go badly. Similarly, we often need to isolate network elements such as load balancers or DNS round robin configurations when troubleshooting client connectivity issues. Making changes to a load balancer or DNS record for this troubleshooting carries a similar risk […]

Read more

What is DNS?

Did you know you could be connected to facebook.com – and see facebook.com in your web browser’s address bar – while not actually being connected to Facebook’s real website? To understand why, you’ll need to know a bit about DNS. DNS underpins the world wide web we use every day. It works transparently in the background, converting human-readable website names […]

Read more

Third-Party DNS Services

In this article the author will review three of the most popular third-party DNS providers – OpenDNS, Google and Dyn. Introduction There are many recursive DNS providers out there you can use for domain name resolution on your network, which can be used instead of or in conjunction with your own DNS server (or those of your ISP). Here we’ll […]

Read more
1 2