Kwca Edlerbismrab Bmelgbi Bi Vijenakñúg .: Dns Linux System
Kwca Edlerbismrab Bmelgbi Bi Vijenakñúg .: Dns Linux System
DNS
Domain Name Service
History of DNS
the end of 1960s :(ARPA) had created name server in flat file
only the host.txt file was managed name-to-address mapping for all host
the early 1980s : TCP/IP Centralized Administration
The ARPA net grew to a network of tens of the thousands of host
middle of 1980s : DNS was designed
Hosts.txt was replaced by DNS. DNS is a distributed (decentralized) Database.
DNS KWCa Name resolution mechanism
EdleRbIsMrab;bMElgBI host name to IP Address or BI IP address
to Host Name vijenAkñúg internet or intranet .
The Domain Name Service (DNS) is the heart of the Internet
DNS was design to resolve IP address and host name in both direction
1. How dose DNS work?
Let’s say that you want to access Web Site to see product and services offered by
Integrated Logic, Inc.
First, you need to modify the resolver configuration file called /etc/resolv.conf
#vi /etc/resolv.conf
#Default Domain
domain evoknow.com
# Default search list
search evoknow.com
#First name server
nameserver 206.171.50.50
#second name server
nameserver 206.171.50.55
MX : Male Exchange
Used to specify a hostname that is set up as the SMTP mail server for
domain. The syntax is as follow:
IN MX preference-value mail-server-hostname
For Example:
IN MX 0 mail.example.com
Note:
The preference value is useful only if you have more than one
SMTP mail server
IN MX 10 fast.mail.server.example.com
IN MX 30 slow.mail.server.example.com
3.2 Understanding the Basic of DNS configuration
3.2.1 The /etc/named.conf file
# This is the comment line
# zone statement
zone domain-name{
type master;
file <filename>;
}
zone domain-name{
type slave;
file <filename>;
}
3.2.2 Domain or zone specific configuration
zone “example.com”{
type master;
file “example.com.zone”;
}
zone “50.171.206 in addr.arpa{
type master;
file “50.171.206 in-addr.arpa.zone”;
}
Khean
DNS
1. setting a DNS server
RHL come with a BIND(Berkeley Internet Name Domain) server software.
If you don’t install it during the installing process, you can install it by
using.
#rpm –ivh bind-*.i386.rpm
BIND also come with a GUI configurations tool called a bindconf.
You can install by
#rpm –ivh bindconf_*.rpm
2. configuring a primary/master DNS server
432000; expire-12hours
3600); minimum-1hour
IN NS pc1.rupp.edu.kh
IN MX 10 mail.rupp.edu.kh
pc1 IN A 192.168.100.1
pc2 IN A 192.168.100.2
www IN A 192.168.100.3
mail IN A 192.168.100.4
Refresh: secondary DNS server will attempt to poll the domain information at this interval
Retry: if not successfully, the secondary DNS will retry at this interval
Expire: specify the period that this information will expire
Minimum secondary DNS will not refresh server than this
4. sad