![]() |
C?u Hnh DNS Server Core b?ng Command Line |
Post Reply ![]() |
Author | |
administrator ![]() Admin ![]() ad Joined: 14 October 2005 Status: Offline Points: 510 |
![]() ![]() ![]() ![]() ![]() Posted: 27 February 2012 at 16:42 |
C?u Hnh DNS Server Core b?ng Command Line
C?u hnh DNS Server Core sau khi ci xong server core cc b?n c th? dng remote administrator tool d? qu?n tr? server core. Bi vi?t ny nh?m gi?i thi?u command line d? cc b?n tham kh?o thm xem tn card m?ng Netsh interface ip show interface khai bo ip Netsh interface ip set address "local area connetion" static 192.168.15.2 255.255.255.0 192.168.15.200 1 khai bo DNS Netsh interface ip set dns "local area connetion" static 192.168.15.2 d?i tn PCname netdom renamecomputer %computername% /newname:PCNN /reboot:0 khai bo DNS sufix netdom computername pcNN /add:pcnn.nhatnghe.info netdom computername pcnn /makeprimary:pcnn.nhatnghe.info kh?i d?ng l?i my 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 php forward lookup zone allow update dnscmd pcnn /config nhatnghe.info /allowupdate 1 cho php 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? my pcnn.nhatnghe.info dnscmd pcnn /recordadd nhatnghe.info www Cname pcnn.nhatnghe.info t?o alias l mail ch? v? my 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 khc) 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 |