logo_windows-server-2019
Cài đặt DHCP trên window server 2019

Cài đặt trên PowerShell Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. # install DHCP with admin tools PS C:UsersAdministrator> Install-WindowsFeature DHCP -IncludeManagementTools Success Restart Needed Exit Code Feature Result ——- ————– ——— ————– True Yes SuccessRest… {DHCP Server, … WARNING: You must restart this server to finish the installation process. # restart computer […]

logo_windows-server-2019
Conditional Forwarder trên window server 2019

Cấu hình trên PowerShell Conditional Forwarder chuyển các truy vấn cụ thể đến một máy chủ bạn chọn. Đặt Ip cho Conditional: 10.0.0.10. Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. PS C:UsersAdministrator> Add-DnsServerConditionalForwarderZone -Name “server.education” -MasterServers 10.0.0.10 -PassThru ZoneName ZoneType IsAutoCreated IsDsIntegrated IsReverseLookupZone IsSigned ——– ——– ————- ————– ——————- ——– server.education Forwarder False […]

logo_windows-server-2019
Forwarder trên window server 2019

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:UsersAdministrator> 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 […]

logo_windows-server-2019
Cấu hình Stub Zone trên window server 2019

Cấu hình Stub zone chỉ với SOA, NS, Glue Record. Mô hình thực hiện. Cấu hình trên PowerShell Các máy chủ được phép chuyển zone files theo mặc định là Name-Server được thêm vào cài đặt từng Zone trên máy chủ DNS Master. Do đó, hãy thêm máy chủ DNS Stub vào cấu hình máy […]

Cấu hình Secondary Zone trong DNS Server

Cấu hình Secondary Zone trên máy chủ DNS Secondary. Trong bài này mình làm với mô hình sau. Cấu hình trên PowerShell Các máy chủ được phép chuyển Zone Files theo mặc định là Name-Server được thêm vào cài đặt từng Zone trên máy chủ DNS Master. Để thực hiện việc này trươc tiên hãy thêm máy chủ […]

Thêm CNAME Record trong DNS

Cấu hình trên PowerShell Thêm CNAME record [fd3s] vào máy chủ [rx-7] trong Zone [srv.world]. Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. PS C:UsersAdministrator> Add-DnsServerResourceRecordCName -Name “fd3s” -HostNameAlias “rx-7.srv.world” -ZoneName “srv.world” -PassThru HostName RecordType Type Timestamp TimeToLive RecordData ——– ———- —- ——— ———- ———- fd3s CNAME 5 0 01:00:00 rx-7.srv.world. PS C:UsersAdministrator> Get-DnsServerResourceRecord […]

Verify resolving trong DNS Server

Cấu Hình Trên PowerShell Trên Powershell chạy với quyền Admin. Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. # with nslookup command # [nslookup (hostname to resolv) (server to ask)] PS C:UsersAdministrator> nslookup rx-8.srv.world localhost Server: UnKnown Address: ::1 Name: rx-8.srv.world Address: 10.0.0.110 PS C:UsersAdministrator> nslookup 10.0.0.110 localhost Server: UnKnown Address: ::1 Name: rx-8.srv.world […]

Thêm Reverse lookup Zone trong DNS Server

Cấu hình trên powershell Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. PS C:UsersAdministrator> Add-DnsServerPrimaryZone -NetworkID 10.0.0.0/24 -ZoneFile “0.0.10.in-addr.arpa.dns” -DynamicUpdate None -PassThru ZoneName ZoneType IsAutoCreated IsDsIntegrated IsReverseLookupZone IsSigned ——– ——– ————- ————– ——————- ——– 0.0.10.in-addr.arpa Primary False False True False PS C:UsersAdministrator> Get-DnsServerZone # [0.0.10.in-addr.arpa] has beed added ZoneName ZoneType IsAutoCreated IsDsIntegrated IsReverseLookupZone IsSigned […]

Thêm Forward lookup Zone trong DNS Server

Cấu hình trên powershell chạy Powershell với quyền admin Thêm Forward lookup Zone, cài đặt  Zone-Name  [srv.world], Zone-File [srv.world.dns]. Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. PS C:UsersAdministrator> Add-DnsServerPrimaryZone -Name “srv.world” -ZoneFile “srv.world.dns” -DynamicUpdate None -PassThru ZoneName ZoneType IsAutoCreated IsDsIntegrated IsReverseLookupZone IsSigned ——– ——– ————- ————– ——————- ——– srv.world Primary False False False […]

Cài đặt DNS Server trên window server 2019

 Cấu hình DNS Server để cung cấp tính năng phân giải tên máy chủ hoặc địa chỉ IP. Cài đặt trên Cui: chạy Powershell với quyền admin, và chạy lệnh như sau. Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. # install DNS with admin tools PS C:UsersAdministrator> Install-WindowsFeature DNS -IncludeManagementTools Success Restart Needed […]