Introduce Domain name system, basic BIND 8 Configuration, create and maintain DNS zones, secusing a DNS servec,... As the main contents of the Lesson LPI 202 Chapter 3 - Advancer Linux Netword Administration DNS. Invite you to consult.
Trang 6Name Hierarchy
Trang 77 LPI Linux
Top Level Domains
Trang 8
Root Name Servers
Trang 10• RFC 1034 Domain names concepts and facilities
– introduction to the Domain Name System (DNS).
– introduction to domain style names, their use for Internet mail and host address support, and the protocols and servers used to implement
domain name facilities
• RFC 1035 Domain names implementation and specification
– This RFC describes the details of the domain system and protocol
Trang 1111 LPI Linux
Configuration
Trang 14DNS Functions
Trang 16– This is the most important part of DNS deign, to ensure that it could
handle many name resolution requests each day.The name resolution process is implemented using two basic software elements that play the role of client and server: name servers and name resolvers
– The main job of name servers is to receive requests for name resolution
and either respond with the data requested from the database, or with the name of another name server that will lead to the requested
information
– Name resolvers are the usual clients in the name resolution process. When a user makes reference to a name in a networking application, the name is passed to the resolver, which issues a request to a name server.
Trang 18– Iterative and Recursive Resolution
– Cache: Locality of Reference
Trang 1919 LPI Linux
Operation of DNS
Trang 20Event Flow in DNS
Trang 2121 LPI Linux
Event Flow in DNS
Trang 24Typical Message Format
Trang 2525 LPI Linux
Fields in the DNS Header
Trang 26Fields in the DNS Question Section
Trang 31that there is no key associated with that entity.
Trang 3333 LPI Linux
Basic Bind 8 Configuration
• The configuration file for a Bind 8 server is /etc/named.conf
Main entries in named.conf
logging Specify where logs are written too and what needs to be logged
options Global options are set here (e.g the path to the zone files)
zone Defines a zone: the name, the zone file, the server type
acl Access control list
server Specific options for remote servers
Trang 35-to- local7 | null >;
Trang 41localhost all IP address for the local interfaces
localnets network associated to the localhost interfaces
Trang 42• The format of the zone files is defined in RFC 1035 and
contains resource records (RR) for the administered domain or subdomain.
Trang 45• A records: Authoritative information for hosts on the domain
– hostname IN A IPaddress