Guide |
DNS (domain name server, nameservers) is the server that is transforming the domain name and the corresponding IP address. DNS holds a domain name and the corresponding IP address (IP addresses) table to resolve the domain name of the message. Let me give you a brief look at the configuration of the DNS server. |
Master File Configuration
Define the DNS master file/etc/named.rfc1912.zones, and add the following lines later:
Zone "supsun.com" in{ type master; File "Supsun.com.zone"; Allow-update{none;};}; Zone "6.1.10.in-addr.arpa" in{ type master; File "Supsun.com.local"; allow-update{none};};
forward parsing file configuration/strong>
[email protected] named]# cat supsun.com.zone$ TTL 86400@ in SOA dns.supsun.com. root.supsun.com . ( 1997022700; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 84600) ; minimum@ in NS dns.supsun.com.dns in A 10.1.6.250@ in MX 5 Main.supsun.com.main in A 10.1.6.250
Reverse Parse file configuration
[email protected] named]# cat supsun.com.local$ TTL 86400@ in SOA dns.supsun.com. root.supsun.com . ( 1997022700; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 84600) ; minimum@ in NS dns.supsun.com.250 in PTR dns.supsun.com.@ in MX 5 main.supsun.com.250 in PTR main.supsun.com.
DNS/IP Name Resolution server
[Email protected] ~]# cat/etc/resolv.confnameserver 10.1.6.250search supsun.com
Original address of this article: <a href= "http://www.linuxprobe.com/dns-server-setup.html"
DNS server Configuration