Get the App
SLTechnology News&Howtos  ›  Servers  › 

Windows Server 2016 Intelligent DNS (2)

Shulou Source: shulou.com Published: 2022-06-02 11:55:23 11月22日 Update

Windows Server 2016 Intelligent DNS (2)

Our previous article introduced Windows Server 2016 intelligent DNS (1). We introduced in detail the configuration of DNS Policy to achieve region-isolated access under Windows Server 2016, but I encountered a problem in the previous article, that is, after the increase, I found that there was no problem with web.ixmsoft.com access, but all internal parsing in the default Zone failed. After querying data, we need to add a default policy. And the priority is higher than any policy.

For example, if we check policy,

Get-DnsServerQueryResolutionPolicy-ZoneName "ixmsoft.com"

We passed the test internal parsing

From the screenshot above, we can see that the record in DNS is normal, but it cannot access other resolution records in the default area, but it is normal on DC, so it is still a problem with DNS Policy configuration.

So we need to add a higher priority policy. Before adding, we need to delete the first two entries by default and then add them. We first delete the added Policy.

Remove-DnsServerQueryResolutionPolicy-ZoneName "ixmsoft.com"-Name "beijingPolicy"

Remove-DnsServerQueryResolutionPolicy-ZoneName "ixmsoft.com"-Name "usPolicy"

Delete and complete all Policy

When we add a policy, we first add the default policy, and then the other two subnet policies

Add-DnsServerQueryResolutionPolicy-Name DefaultPolicy-Action ALLOW-ZoneScope "ixmsoft.com,1"-FQDN "ne,web.ixmsoft.com"-ZoneName "ixmsoft.com" Add-DnsServerQueryResolutionPolicy-Name "beijingPolicy"-Action ALLOW-ClientSubnet "eq,beijingsubnet"-ZoneScope "beijing,1"-ZoneName "ixmsoft.com" Add-DnsServerQueryResolutionPolicy-Name "usPolicy"-Action ALLOW-ClientSubnet "eq,ussubnet"-ZoneScope "us,1"-ZoneName "ixmsoft.com"

After the increase, we will check

Get-DnsServerQueryResolutionPolicy-ZoneName "ixmsoft.com"

And then we test.

Tags: Policy problem intelligence priority that is previous plus one test configuration region region screenshot is in note data or query isolation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker MariaDB vpn Linux Huawei