Home My Account Register Domain Transfer Domain Contact Us Whois Documentation
Forum Home Forum Home > Information Technology > HĐH Windows
  New Posts New Posts RSS Feed: Cấu Hình DNS Server Core bằng Command Line
  FAQ FAQ  Forum Search   Register Register  Login Login
If this is your first visit, be sure to check out theForum by clicking the link above. You may have toregister before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
ASG Vietnam

Cấu Hình DNS Server Core bằng Command Line

 Post Reply Post Reply
admingroup View Drop Down


Joined: 14 October 2005
Online Status: Offline
Posts: 508
  Quote admingroup 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 để quản trị server core. Bài viết này nhằm giới thiệu command line để 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 1

khai báo DNS

Netsh interface ip set dns "local area connetion" static

đổi tên PCname

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

khai báo DNS sufix

netdom computername pcNN /
netdom computername pcnn /

khởi động lại máy

shutdown -r -t 0

Add role DNS

start /w ocsetup DNS-Server-Core-Role

xem lại DNS server đã start chưa

Net start

tạo forward lookup zone là

dnscmd pcnn /zoneadd /primary

tạo reverse lookup zone là 192.168.15

dnscmd pcnn /zoneadd /primary

cho phép forward lookup zone allow update

dnscmd pcnn /config /allowupdate 1

cho phép reverse lookup zone allow update

dnscmd pcnn /config /allowupdate 1

đăng ký DNS (tạo pointer)

ipconfig /registerdns

test DNS


tạo alias là www chỉ về máy

dnscmd pcnn /recordadd www Cname

tạo alias là mail chỉ về máy

dnscmd pcnn /recordadd mail Cname

tạo MX record

dnscmd pcnn /recordadd . MX 10

forwarder DNS ISP

dnscmd pcnn /resetforwarders

conditional forwarders (forwarder qua domain khác)

dnscmd pcnn /zoneadd /forwarder
dnscmd pcnn /zoneadd /forwarder

test lại DNS

Sưu tầm
  Share Topic     
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

This page was generated in 0.109 seconds.
[Free Express Edition]
Copyright ©2001-2009 Web Wiz
Support: raovatphanmem Support: Info hanoi software
Online(s): 118.
Visitors Counter:41428414, AVERAGE/day(4026) is: 10290
Begin count is day 02/16/2009

You are browsing this site with: CCBot/2.0 (
Your IP address is:
The DNS lookup of the IP address is:
The method used to call the page: GET
The server's domain name:
The link
BaoKyNam Viêm gan b Thẩm mỹ viện Hoa Kỳ