Professional Documents
Culture Documents
Lession 15 - DNS
Lession 15 - DNS
Ni dung
Gii thiu dch v DNS.
Hot ng ca dch v DNS
Fully Qualified Domain Name (FQDN)
The in-addr.arpa Domain
Phn gii request DNS
Types of DNS server
Ci t dch v DNS
Cu hnh dch v DNS
DNS tools
request (domain
-> IP (a.b.c.d)
domain name: tn
min do Athena qun l.
domain name: tn
min do VNNIC qun l.
domain name: tn
min quc t.
answer.
mode recursive:
recursive:
Ci t dch v DNS
Ci t dch v DNS bng cc gi bind
bind-utils-[version]
bind-libs-[version]
bind-[version]
File cu hnh chnh ca dch v DNS:
named.conf
Cu hnh dch v
DNS (tt)
Option
chung
Root servers
nh ngha
domain
CNAME.
Squid Server
Ni dung
Gii thiu Squid server
Cu hnh Squid server
Option
Cu hnh ACL
Squid Authentication
Top level
directory
Second level
directory
nhiu cch:
Gii hn truy cp theo thi gian.
Gii hn truy cp theo IP.
Gii hn truy cp theo port.
Gii hn truy cp theo giao thc.
Gii hn truy cp theo trang web.
Gii hn file c php download.
Gii hn bng thng ti a c s dng.
Cu hnh Squid
server (tt)
DHCP Server
Ni dung
Gii thiu dch v DHCP
chc nng
gi ci t.
File cu hnh
/etc/dhcpd.conf.
/var/lib/dhcpd/dhcpd.leases.
Lnh dhclient
File /etc/dhcpd.conf
File dhcpd.leases
File dhcpd.leases theo di tnh trng cp pht
IP ng:
Lnh dhclient
C th get IP ng bng cch iu chnh file:
/etc/sysconfig/network-scripts/ifcfg-eth[n]
BOOTPROTO = dhcp
Lnh dhclient: dng get IP ng t DHCP
server.
LDAP
Ni dung
Gii
Gii
Cu
Gii
Network Directory
Network directory l mt cu trc dng t
LDAP directory
uid=babs,
ou=people,
dc=example, dc=com
DN: Distinguished
dc=com
attribute
OPENLDAP (tt)
Openldap l phn mm m ngun m, dng
OPENLDAP (tt)
truy vn LDAP, client dng nhng lnh
sau:
ldapadd: thm mt entry mi.
ldapmodify: chnh sa thng tin mt entry.
ldapdelete: xa mt entry.
ldapmodrdn: chnh sa RDN ca entry.
ldapsearch: tm kim thng tin entry.
Hi & p