Ask the DNSbind9.4.0 issue that cannot be resolved
Source: Internet
Author: User
For more information, see "Linux Enterprise Application-Linux server application. The following are my steps to install DNSbind. I don't know where something went wrong. Thank you very much for your advice!
1. Download, compile, and install (no problems occurred)
2. Configure the named. conf file. Set sysconfdir to/etc.
Only the root server directory is configured as follows:
Options {
Directory "var/named ";
};
Zone "."{
Type hint;
File "named, ca ";
};
Both semicolons and spaces are available.
3. Create a directory/var/named by yourself to generate a named. ca file.
Use the existing DNS server on the local machine and the dig-t NS. Find the upper-layer DNS server.
Redirect the address to/var/named. ca.
Dig-t NS.>/var/named. ca
4. Change the nameserver in/etc/resolv. conf to 127.0.0.1 on the local machine.
5. The following named shows that the error 127.0.0.1 and 953 is not found after reading the log.
6. The following uses rndc to control the server:
Rndc-confgen>/etc/rndc. conf (redirect the configuration file)
Tail + 13/etc/rndc. conf>/etc/named. conf (add the part required by named. conf and remove the # sign)
Killall-9 named (kill process)
7. Start named (tail/var/log/messages do not report an error)
Rndc status (no problem)
The nameserver in resolv. conf is 127.0.0.1.
8. However, host www.sina.com.cn cannot be parsed at the end. Please give me some advice. Thank you!
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.