Sieu ho tro Homepage
Forum Home Forum Home > Information Technology > HĐH Windows
  New Posts New Posts RSS Feed - C?u Hnh DNS Server Core b?ng Command Line
  FAQ FAQ  Forum Search   Events   Register Register  Login Login


C?u H�nh DNS Server Core b?ng Command Line

 Post Reply Post Reply
Author
Message
administrator View Drop Down
Admin
Admin

ad

Joined: 14 October 2005
Status: Offline
Points: 512
Post Options Post Options   Thanks (0) Thanks(0)   Quote administrator Quote  Post ReplyReply Direct Link To This Post Topic: C?u H�nh DNS Server Core b?ng Command Line
    Posted: 27 February 2012 at 16:42
C?u H�nh DNS Server Core b?ng Command Line
C?u h�nh DNS Server Core

sau khi c�i xong server core c�c b?n c� th? d�ng remote administrator tool d? qu?n tr? server core. B�i vi?t n�y nh?m gi?i thi?u command line d? c�c b?n tham kh?o th�m

xem t�n card m?ng

Netsh interface ip show interface

khai b�o ip

Netsh interface ip set address "local area connetion" static 192.168.15.2 255.255.255.0 192.168.15.200 1

khai b�o DNS

Netsh interface ip set dns "local area connetion" static 192.168.15.2

d?i t�n PCname

netdom renamecomputer %computername% /newname:PCNN /reboot:0

khai b�o DNS sufix

netdom computername pcNN /add:pcnn.nhatnghe.info
netdom computername pcnn /makeprimary:pcnn.nhatnghe.info

kh?i d?ng l?i m�y

shutdown -r -t 0

Add role DNS

start /w ocsetup DNS-Server-Core-Role

xem l?i DNS server d� start chua

Net start

t?o forward lookup zone l� Nhatnghe.info

dnscmd pcnn /zoneadd nhatnghe.info /primary

t?o reverse lookup zone l� 192.168.15

dnscmd pcnn /zoneadd 15.168.192.in-addr.arpa /primary

cho ph�p forward lookup zone allow update

dnscmd pcnn /config nhatnghe.info /allowupdate 1

cho ph�p reverse lookup zone allow update

dnscmd pcnn /config 15.168.192.zonein-addr.arpa /allowupdate 1

dang k� DNS (t?o pointer)

ipconfig /registerdns

test DNS

NSlookup
exit

t?o alias l� www ch? v? m�y pcnn.nhatnghe.info

dnscmd pcnn /recordadd nhatnghe.info www Cname pcnn.nhatnghe.info

t?o alias l� mail ch? v? m�y pcnn.nhatnghe.info

dnscmd pcnn /recordadd nhatnghe.info mail Cname pcnn.nhatnghe.info

t?o MX record

dnscmd pcnn /recordadd nhatnghe.info . MX 10 pcnn.nhatnghe.info

forwarder DNS ISP

dnscmd pcnn /resetforwarders 203.162.4.191

conditional forwarders (forwarder qua domain kh�c)

dnscmd pcnn /zoneadd ctl.net /forwarder 192.168.15.3
dnscmd pcnn /zoneadd tnt.com /forwarder 192.168.15.4

test l?i DNS
Nslookup

Suu t?m
Back to Top
Sponsored Links


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.

This page was generated in 0.109 seconds.
bao ky nam , Thuoc nam ky dieu
chu ky so