Only the last nrpt rule takes effect on Windows 10 version 1809

lane luo 0 Reputation points
2023-11-17T06:28:25.6166667+00:00

I am on the Windows 10 system version 1809, using administrator privileges to open PowerShell, use the following command to add nrpt rules:

Add-DnsClientNrptRule -Namespace @("hr.test.com","sssvn1.test.com","dsssvn1.test.com") -NameServers "119.29.29.29" -PassThru

At this time, access the three domain names "hr.test.com","sssvn1.test.com" and "dsssvn1.test.com" in the browser,it is found that only domain name "hr.test.com" will use the 119.29.29.29 dns server for domain name resolution according to the nrpt rule.

If you use the "Get-DnsClientNrptPolicy -Effective" command to view the added nrpt rules,you will get the following output:

J23kp6B9tk

In the input content, only the nameserver attribute of hr.test.com rule has a value,and the nameserver attributes of other rules are empty.

The system version I am currently testing is as follows:

Version: windows 10 Enterprise LTSC

version number: 1809

Operating system version: 17763.316

Version: windows 10 Enterprise LTSC

version number: 1809

Operating system version: 17763.2237

I tested Windows 11 and Windows 8 systems and did not find this problem.

I would like to ask if anyone has encountered this problem and how to solve it; and what system versions have this problem.

(The domain name in the above command is not a real domain name, it is just for example and cannot be accessed normally.)

Thanks.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,468 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,305 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,340 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.