Máy chủ tên miền (Name Server) là máy chủ chứa cơ sở dữ liệu dùng cho việc chuyển đổi giữa tên miền và địa chỉ IP. Như cách phân cấp của hệ thống tên miền, tương ứng với mỗi cấp có máy chủ
Trang 1Peo ee ee te eG
eee Gm CLO Np oOo CO me
Trang 2* Dịch vụ tên miền (DNS) sẽ ánh xạ địa chỉ IP thành
* Không ảnh hưởng khi địa chỉ IP QO
* Hoạt động theo mô hình
Trang 3
Domain Nannie Space
Trang 4.com Các tổ chức, công ty thương mại
.org Các tổ chức phi lợi nhuận
net Cac trung tam ho tro vé mang
Trang 5Cac domain tồn tại đã quá tải nên phát sinh ra các top-
level domain mới, và các tên miền quốc gia ví dụ :
arts Các tổ chức liên quan đến nghệ thuật và kiến
trúc rec Các tổ chức có tinh chất giải trí, thể thao
firm Các tổ chức kinh doanh thương mại
info Các tổ chức liên quan đến thông tin +
Quốc gia Tên quốc gia
Trang 6
Quy taec chuns
* Tên miền nên được đặt đơn giản và có tính
chat gợi nhớ với mục địch và phạm vi hoạt
đông của tổ chức sỡ hữu tên miền
* Mỗi tên miền được có tối đa 63 ký tự bao
gồm cả dâu “.” § Tên miền được đặt bằng
các ký tự (a-z A-Z 0-9) và ký tự “-”, “_”
* Một tên miền đầy đủ có chiều dài không
vuot qua 255 ky tu
www.themegallery.com Company Name
Trang 7
Máy chủ tên miền (Name Server) là máy chủ
chứa cơ sở dữ liệu dùng cho việc chuyển
đổi giữa tên miền và địa chỉ IP
Như cách phân cấp của hệ thống tên miền,
tương ứng với mỗi cấp có máy chủ tên miền phục vụ tên miền ở cấp đó
Máy chủ tên miền ở mức root sẽ chứa cơ sở
dữ liệu quản lý tên miền ở mức top-level-
domain Ở mức quốc gia Sẽ có máy chủ tên
miền quản lý domain ở mức quốc gia
www.themegallery.com Company Name
Trang 9-—-y-~~ -a Co che-—-y-~~ -a ho-—-y-~~ -ait no-—-y-~~ -ang —_
ong zone và cache
ho Computer1
erg yew
Trang 10CÓ chea hoait II00INS herative OQwenes
ậhận được một truy vấn tương tác, nó sẽ
toi uu nhat ma nó đang lưu giử
Trang 11Trung tâm Tin học Bách Khoa
wee Deen eee geen eens
Trang 12
\ dungnc is at
Client2) = 192.168.1.99
g là một phương pháp lưu giữ những thông tin vừa được truy
gần đây vào trong bộ nhớ riêng biệt của hệ thống, để lần sau
éu truy cập lại địa chỉ này sẽ nhanh hơn vì không phải tìm một lần
lâm Tin học Bách Khoa | OD Comps
Trang 13
‘es
Tu nut Start > Settings > Control Panel > double
click vao biéu tuong Add or Remove Programs
Trong cura s6 Add or Remove Programs click
_Add/Remove Windows Components
& L1 S‹2Aecucasan Saver les |
a CO) Gt Canticase Services 14% | ©
U) BBL mat Senco ! 3 AMaã :
ÂŒ.‹(li«srsaesess nse Sel <8 FT
An ie et bis ei eaters JO a Ape ULL EL mek C02 K Cope
" ( Descrsren ickces Virdee Bccemeanes ond Utes tor pour commie
a ; Os eT) ace ; ven
FP Sewtek ACUT Auto "se 14540
WEY Urensust LAC VIET nnd 2002-BVA Stee 464/020 wr]
wg ys
Trang 14
Windows Components =
You C21 800 Of E28 COIpCOSE$ of Windows N
7 D remat Explorer Entanced Sacurty Configuration
2 Ba Monogement ond Montorng Tools
Trang 17Windows Components Wizard —= «||
Completing the Windows Components Wizard
You have succeaeefily coencieted the Vindews
Corpoments /á¿ntd
To close Tits wizard, cick Finn
_Trung tam Tin học Bách Khoa “GJ—-'' T- ÿ -~~ ¬ Compiz dungnc2000@yahoo.com
Trang 18Zone thuân của dla eevee ong: dines
` ƒ S3 Reverse Lookup Zones
The Soman fame System (DNS) & 3 hierarchical naming system used for
locating computers and nemyork services ONS & best known for transiating
frendly OMS domain names to IP addresses and network services
Ths ONS sewer has not beer! configured Corfiguration noudes creating forward ard reverse Dokup zores and specfyng root hints and forwerders
To configure the ONS server, on the ACDOn Meru, Gck Configure 2 DNS server
Trung tam Tin hoc Bach Khoa
wee Deen eee geen eens Compe dungnc2000@yahoo.com
Trang 19=_ (lnstegrmf - (DNSA\DUMGMC2K3] - - In" ví
3, le Be sư ten - en Vy W@da Hết a eae at? ai@ix
iz KOM CONS) & a herarchea! naming system used for
1 network services ONS is best Known for transiating
*s to IP addresses and network services,
okup Zones and spectying root hints and forwarders
be er, on the Action menu, cick Configure a ONS server
Trang 20lam Tin noe Đách khoa, Compe
Trang 21Tao Forward Lookup Zone
“* Chon Zone Type la Primary Zone, click Next
“* Chon Forward Lookup Zone click Netxt
New Zone Wizard - xi
fone Type
The Dus carver supports wertaus types of Danes and storsoe
Sale 1M tye Of Jinte pou emer OO Leta:
Cremer 9 copy of # TOTe cormerwng arty Metre Gerver (8S), Stert of Authority 504), m€ (oasaM/ gus roel (4) pecans 4 Server cErfaireng 8 Sit oars i¢
YOu C8 Ute 9 Done fer forward or “everte 1406111
Sect re type af aki Jute you wart to Cea
® Eorwere lockip sora
A Server oohup gene Deietes ONS neines beta F addrteses and provides sfernmetign about ceedtiw netruert sercKes
C fewews loetug care
A ceveten lockup tore Neseistes YW eidunses ety ONS nares
Trang 22
PIN J† TRỢ hé 667 0002917071229 coemen name 2X £xpVrgxee
r'*Œtátf! 621") tế 4 ¿O^§en tý (he đévdit rượng (ÍtY 44621006, 109x03%4 xáŒtstft cđf‹
The tone carne cnet Me nee of the OHS server
bus (tas%e:
Ịme rom
For more whorrenioe shout 2080 neries, Och Mol
‹ Bonk | yat > | concn |
The fore cere 9070064 fe gertien of the OF mareeugeate ‘Or wera ies server 6
OP you Wert th create ® new sone fe oF one 0010 @emInG fhe thet yeu Nave copes
from another DMS server?
6 Dmex s wey he vith un Bie verre!
j mts ram ene
mm“ the:
1© tte [tek Goosteeg fia, errs Puy © hts Neen COmed (0 [he 4744
Me SestertRect™ | eyelet TT atte on thes server arf teen che Ment
Trang 23Tao Forward Lookup Zone
Chi dinh zone chap nhan Secure Updat, nonsercure
Updat, hay chon khéng su dung Dynamic Updat
3%): Te Becreerieh coregieted Tw thew Jose Voor
Te pected De fohening wetinge
cm"
al ot ™ co eee : sores “ kẽ \arre: fom corn
+ trrrery
OE ATW ry gree Geter -Tc Yti0syrdvrde2ty saa eRe ne rc t ch sỹ ?c« creed
: “ Vou taste: fen varies
Caw bon ngewe isco:
“bú: pghoc: (8 ms sneeeies aks os!
a 2 ‘ote Yee shod ecercs & fhe seve #! #3 _——~ Se 6042 09-651 X0c 34 remylnsgdserrctine-xty y sex vu thế tới 000)
cnr penchant uly fae
Trang 24-—-y-~~ -Tao Revere Lookup Zone
vJ tiẾk com i (same as parent, folder) Name Server (NS) đur@2k3
=) ld Reverse Lockup Zones
Trang 25New 7one Wizard
Forward of Reverse Lookup Zone ñ
You can use 8 zoni# for Íprsnnd oF reverse lookups
Trang 26Min /cme WUard =_
Reverse Lookep Lone tame
x)
Yu thewkly De coweres beetuy 200m pw the Poteet Ô ov fre cae of De ce (0 tegteert £1:
> |
Tư vetwert D (699% prroo Z the F ateeee thet becangs te es ppt 6e
fwteees TD) trì Os terre (oot revereed) onde
0 yent g 1e + 1890 © the fete’ 1Ô, 4 x0 appear ms the meee were For exergie,
fete’ [DP 1 ese eg rrr 1((0 0v 9443172, xeứ spf/tết BP Ltd Weed create
rece £100" Of ore ( Peveree lookup zee «ere Her 9946 WI (VY xX( 27) erecting a 009946 Wekep fore, chek Het
Le Ae me | = : Zoee tt
ee Con Creole © eer ote We or eve 2 he coped Nom auth ONS weve
x
CO pee x@4 lò (v3 406! (L4 lầu Or cee a0 eta [he Dat pee ere coped
trare ovate OFS sere?
(© [Erente 3 new Mle wet hộp Mắt nạếre-j
|: te zjitádt,
( «lu sudss (Éo
l2 se Hạt 90x; lu, tha thoứ t tas teen crpoed tm the 64m:
WherertRost’s iayitera 7) fre on ther server, and ten các$ ((ee£
Trang 27
‘es
Chi dinh zone chap nhan Secure Updat, nonsercure
Updat, hay chon khéng su dung Dynamic Updat
Chon Finish dé hoan tat
Yeu Sere pecoretd lr corrgdened the New Jere (28v:
Voy Soe tied the tebe cott ree:
ae
L “ere 1.169.192 20-eckt ore
Sebecs thee tae of cerarree upckwes you werk ty eon:
"ype: rrvvery
Cw WV bas a Uae eek | beairrsr oes jy #114 Eex=2z +) tảo An
“This ngyien te avondale Only fer Actue Directory teing’sted zens ee aR
© ere oath ronmecare ane vacere ayers wore Poe nưnn 1.168.192 eat ave du
Tu ch
ts tacos pensar soe iene
of resource recects ave rot tis Pore VAo Nhac
Tu ng, neoegsa# lý
(mee Vou 23164 rợ»: 907 records te Gye Tere or ereare
#ụy: TOME OS trí vg9tt0 Cyrarvcst), You can fen verify earve readeler sey eo retas
1 Clete Tea waned ged Years Ihe tế» 71094, (LŒ ÍVWN
Trang 28
* Khi ta tạo xong 2 zone thuận và nghịch, mac định
hệ thống sẽ tạo ra 2 Resource record NS và SOA
# (ff Event Viewer M) (same as parerc folder) Start of Authory (SQA) [1], dungnc2k3., host
=) id Foeward Lookup Zones] (Wi) (same as parert fokder) = Name Server (NS) dungec2k3,
Trang 29
* Tao Host
PE ee ele eee rer ta ees |
‘Dee “deter Vay “Window Hes
tính trên mạng
và địa chỉ IP
tương ứng của nó Nói
cách khác,
bản ghi kiểu A
chỉ ra tên và dia chi IP cua
Trung tam Tin hoc Bach Khoa
wee Deen eee geen eens
aig
Trang 30
‘es
* Tao RR A dé ánh xạ host name thành tên máy
“` Trong hộp thoại xuất hiện cung cấp các thông tin
cần thiết rồi click Add Host
Trang 31= muNcNCze3 OI cerns rite gy WRB Vora nips ss re SSeS pela
=) Gd Forward Lookup Zones |75] (same as parent > Start ot Authorty (SO 1) Gungnc2*3 host
irhicom „8| (same 6 foicter Name Server (NS) k
Gd Reverse Lookup Loewe] Ti) www Host (A) 193 168 1.111
@ 192 163.1% Sutre r¡ ig Event Vewer
Trang 32
Trong truong hop ta
muốn máy chủ DNS
Server vưa có tên
www.thbk.com vừa có tên
Chon Forward Lookup
Zone, right vao tén zone,
chon New Alias
Trung: tam n Tin hoc Bach Khoa
~gy> -—-y-~~ - Compe dungnc2000@yahoo.com
Trang 33
“* C6 thé Browse dé tim Host (A), nhan OK
Hosts ond Abases (A and CHAME Records} | CONG QMER — | HOSTS ond Abases (A and OUAME Records) |
Trang 34
‘es
* Host (A) sẽ được định danh trong ô FQDN
New esourœ R£ecosd
www.themegallery.com Company Name
Trang 35_= (nswnqmt - [DWS\DUNGNC 2K3\f orwartÍ Lookup 7o©s\thbk,cuB]
+, ‘Be action iN Ven Wwdem tp — aoe :
Se eS ee
a Soren parent fodder) ` Setoi Authorty (SON)
a) (sare as parentfokde) «= Naene Server (NS)
Trang 36Có thể tự khai báo hoặc
khai báo tự đồng qua
DHCP
Trung tam Tin hoc Bach Khoa
wee Deen eee geen eens Compe dungnc2000@yahoo.com
Trang 37
Kiểm tra DNS Server hoạt động đúng chưa bằng
lệnh : Start > Run > nslookup
Default Server dunanc2k3.thbk com
Néu DNS phan giai duoc cac tén
Trang 38al tein VN
⁄
LOGO