Intranet DNS Configuration

Source: Internet
Author: User

Yum Install bind Bind-chroot
[Email protected] named]# cat/etc/named.conf
Options {
Directory "/var/named";
};

Zone "." in {
Type hint;
File "named.ca";
};

Zone "localhost" in {
Type master;
File "Named.localhost";
};

Zone "0.0.127.in-addr.arpa" in {
Type master;
File "Named.loopback";

};
Zone "sxlfxx.cn" in {
Type master;
File "Sxlfxx.cn.zone";
};


[Email protected] named]# Cat/var/named/sxlfxx.cn.zone
$TTL 86400
znke.cn. In SOA ns1.sxlfxx.cn. admin.sxlfxx.cn. (
2014121001
1H
5M
The
6H)
In NS ns1
In MX ten Mail
NS1 in A 192.168.3.5
Mail in A 192.168.3.5
www in A 182.92.166.130
Test in A 114.112.96.62
FTP in CNAME www


If not ... Copy the two configuration files to
/var/named/chroot/etc/named.conf
/var/named/chroot/var/named/sxlfxx.cn.zone


This article is from the "→おyǒňɡ Zhi ℃" blog, please be sure to keep this source http://sxlfxx.blog.51cto.com/4244111/1707598

Intranet DNS 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.