DNS service configuration and application 2

Source: Internet
Author: User
DNS service configuration and application 2-Linux Enterprise Application-Linux server application information. The following is a detailed description. 10. Set root region: When the dns server performs recursive query, if the local region file cannot be parsed, it will go to the root server for query, so in the master configuration file named. the conf file also defines the root region.
11. zone "." {# Set the root region
Type hint;/* set the region type to hint, so that when the dns server starts, it will find the server and update */
File "named. ca" # Set the name of the root server list file
};
12. Set the primary region: the primary region is where the dns server stores data in a region such as jackie.com.
Zone "jackie.com" {# Set the name of the primary region jackie.com
Type master; # Set the type as the primary region
File "jackie.com. zone"; # Set the name of the file in the main region
Allow-transfer {# IP address of the secondary domain name server that allows region replication.
192.168.1.1;
192.168.1.2;
};
};
13. Set the reverse resolution region:
Zone "16.168.192.in-addr. arpa" {# Set the name of the reverse resolution region. If the subnet mask is 16, the reverse resolution domain name is 168.192.in-addr. arpa.
Type master; # Set the type to the primary region, because reverse domain name resolution is a special primary region.
File "192.168.16.arpa"; # Set the name of the file in the main region
Allow-transfer {# IP address of the secondary domain name server that allows region replication.
192.168.1.1;
192.168.1.2;
};
};
14. root server information file:/var/named. ca
This file must be updated regularly.
15. region files: Generally, the region files of the dns server are stored in/var/named/the next dns server. Multiple region files can be stored in one region, or multiple dns servers. Example:
$ Ttl 38400 # Set the default time for the client to cache data from queries
Jackie.com. (# Set the domain name under the jurisdiction) IN (# Set the internet class) SOA dns.jackie.com. (# Set the authorization host name) admin.jackie.com. (# Set the Administrator email Address)/* set the SOA Resource Record of the starting authorization organization. It is the resource record that must be set in the main name server region file, it indicates that the dns server that created it is the primary name server. */
2005090503 # Set the serial number, in the format of year, month, and day plus the number of modifications
10800 # set the value of the update interval to define the interval between the secondary name server and the primary server for a regional copy operation.
3600 # Set the Retry Interval.
604800 # defines the expiration time value. It is the maximum connection time when it is updated with the primary name server.
38400 ) # Minimum default TTL
Jackie.com. in ns dns.example.com. # Set the name server ns Resource Record
Dns in a 192.168.16.177 # Set host address A resource record
Www.jackie.com. in a 192.168.16.9 # Set host address A resource record
Mail1.jackie.com. in a 192.168.16.178 # Set host address A resource record
Mail2.jackie.com. in a 192.168.16.179 # Set host address A resource record
Mail3.jackie.com. in a 192.168.16.180 # Set host address A resource record
Rhel4 in cname dns # Set alias resource records
Bbs in cname www # Set alias resource records
Samba in cname www # Set alias resource records
Jackie.com. in mx 10 mail1.jackie.com. # Set the mail exchanger MX Resource Record
Jackie.com. in mx 11 mail2.jackie.com.
Jackie.com. in mx 12 mail3.jackie.com.

Note: jackie.com. in soa dns.jackie.com. admin.jackie.com .(
It should be in a row.

[ This post was last edited by jackiesr at, 2007-2-19]
Related Article

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.