RH enterprise 4 bind Problems

Source: Internet
Author: User
RH enterprise 4 bind problem-Linux Enterprise Application-Linux server application information, the following is a detailed reading. My linux version is Red Hat Enterprise 4 and I use vmwave. The bind9 experiment fails. Expert advice

I have installed bind9 by adding the deletion program. After the program is installed, named. ca; named. local are available under/var/named,

I used vi to add it to the/etc/named. conf file.

Zone "chin.cn" IN {
Type master;
File "chin.cn. db ";
Allow-update {none ;};
};

Zone "1.168.192.in-addr. arpa" IN (
Type master;
File "named1.168.192.db ";
Allow-update {none ;};


Add two files under/var/named/: chin.cn. db and named1.168.192.db.

Chin.cn. db is

$ TTL 86400
@ SOA ns1.chin.cn. chin.cn .(
2003053013; serial
3600; refresh
900; retry
1209600; expire
3600; minimum
)
@ In ns ns1.chin.cn
Ns1 in a 192.168.1.1
Www in cname ns1


Named1.168.192.db is

$ TTL 86400
@ SOA ns1.chin.cn. chin.cn .(
2003053013; serial
3600; refresh
900; retry
1209600; expire
3600; minimum
)
@ In ns ns1.chin.cn.
1 in ptr ns1.chin.cn.

Then I restarted the named service and used nslookup for verification and found an error. server cann't find ns1.chin.cn

Then run the tail command to view the log and find this one: zone chin.cn/IN:loading mster file chin.cn. db: file not found.

How can I solve this problem?

In addition, I disabled SElinux and knocked service iptables stop and chkconfig iptables off.

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.