DNS server Configuration

Source: Internet
Author: User
Tags domain name server

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.