C?u H�nh DNS Server Core b?ng Command Line |
Post Reply |
Author | |
administrator
Admin ad Joined: 14 October 2005 Status: Offline Points: 512 |
Post Options
Thanks(0)
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 |
|
Sponsored Links | |
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |