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 Hnh 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: 510
Post Options Post Options   Thanks (0) Thanks(0)   Quote administrator Quote  Post ReplyReply Direct Link To This Post Topic: C?u Hnh DNS Server Core b?ng Command Line
    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
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.168 seconds.
bao ky nam , Thuoc nam ky dieu
C?a thp ch?ng chy,cua thep chong chay,c?a ch?ng chy,cua chong chay,c?a nh?a abs,cua nhua abs,c?a abs,cua abs,cua thep van go,c?a thp vn g?,c?a thp an ton,cua thep an toan,c?a cu?n ch?ng chy,cua cuon chong chay,c?a g? ch?ng chy,cua go chong chay,c?a tru?t t? d?ng,cua truot tu dong,c?a knh ch?ng chy,cua kinh chong chay