Write down your own simple DNS settings

Source: Internet
Author: User
Write down your own simple DNS settings-Linux Enterprise Application-Linux server application information. The following is a detailed description. This configuration is acceptable on the company's virtual machine, but not on the company's host. The same settings are not acceptable. You can go home and test the configuration on your host, it's okay. I really don't understand it. I rely on ......
Named. conf
Options {
Directory "/var/named ";
Dump-file "/var/named/data/cache_dump.db ";
Statistics-file "/var/named/data/named_stats.txt ";
};
Zone "." IN {
Type hint;
File "named. ca ";
};
Zone "localhost" IN {
Type master;
File "named. localhost ";
Allow-update {none ;};
};
Zone "0.0.127.in-addr. qrpa" IN {
Type master;
File "named. local ";
Allow-update {none ;};
};
Zone "myhome. cc" IN {
Type master;
File "name2ip. conf ";
Allow-update {none ;};
};
Zone "1.168.192.in-addr. arpa" IN {
Type master;
File "ip2name. conf ";
Allow-update {none ;};
};

Name2ip. conf
$ TTL 86400
@ In soa my. myhome. cc. dayerong.hotmail.com .(
1053891162
3 H
15 M
1 W
1D
)
@ In ns my. myhome. cc.
@ In mx 5 mail. myhome. cc.
My in a 192.168.1.11
Www in cname my. myhome. cc.
Ftp in a 192.168.1.11
Mail in a 192.168.1.11


Ip2name. conf

$ TTL 86400
@ In soa my. myhome. cc. dayerong.hotmail.com .(
20031001
7200
3600
43200
86400)
@ In ns my. myhome. cc.
11 in ptr my. myhome. cc.
11 in ptr ftp. myhome. cc.
11 in ptr mail. myhome. cc.


At the beginning, forwarders cannot be set in options. No need to set.

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.