DNS Forwarder để chuyển các truy vấn đến các máy chủ DNS khác.
Đặt địa chỉ IP: 10.0.0.10 cho DNS Forwarder.
Cấu hình trên PowerShell
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\Administrator> Add-DnsServerForwarder -IPAddress 10.0.0.10 -PassThru
UseRootHint : True
Timeout(s) : 3
EnableReordering : True
IPAddress : 10.0.0.10
ReorderedIPAddress : 10.0.0.10
PS C:\Users\Administrator> Get-DnsServerForwarder
UseRootHint : True
Timeout(s) : 3
EnableReordering : True
IPAddress : 10.0.0.10
ReorderedIPAddress : 10.0.0.10
# verify to ask hostname that is not in your DNS Zone but in Forwarder Host
PS C:\Users\Administrator> Resolve-DnsName dlp.server.education -Server localhost
Name Type TTL Section IPAddress
---- ---- --- ------- ---------
dlp.server.education A 86399 Answer 10.0.0.30
Cấu hình trên GUI
Mở Server Manager, chọn Tools – DNS, Chuột phải Hostname và chọn Properties.
![](https://cloudviet.com.vn/wp-content/uploads/2022/10/1-10.png)
Chuyển đến tab Forwarder, chọn Edit.
![](https://cloudviet.com.vn/wp-content/uploads/2022/10/2-6.png)
Tiếp theo. nhập Hostname hoặc địa chỉ IP cho Forwarder.
![](https://cloudviet.com.vn/wp-content/uploads/2022/10/3-8.png)
DNS Forwarder đã thêm thành công.
![](https://cloudviet.com.vn/wp-content/uploads/2022/10/4-4.png)