After DNS compilation is complete, the system prompts "XNDOMAIN -- Linux Enterprise Application-Linux server application" during nslookup. The following is a detailed description. Attaches all the compilation content, and red indicates the modified items.
The host name is linux, the DNS domain name to be configured is test.com, and the Host IP address is 10.47.32.152.
10.47.32.20.for windows PC under the same network segment
Zone "test.com" IN {
Type master;
File "test.com. zone ";
Allow-update {none ;};
};
Zone "32.47.10-in. addr. arpa" IN {
Type master;
File "10.47.32.zone ";
Allow-update {none ;};
};
Zone "0.0.127-in. addr. arpa" IN {
Type master;
File "127.0.0.zone ";
Allow-update {none ;};
};
Include "/etc/named. rfc1912.zones ";
/Var/named/test.com. zone file configuration
$ TTL 1D
@ In soa linux.test.com. root.linux.test.com .(
2008080100; serial
28800; refresh
14400; retry
3600000; expriy
86400); minimum
In ns linux.test.com.
Linux in a 10.47.32.152
Xdw in a 10.47.32.133
/Var/named/10.47.32.zone file configuration
@ In soa linux.test.com. root.linux.test.com .(
2008080100; serial
28800; refresh
14400; retry
3600000; expriy
86400); minimum
In ns linux.test.com.
152 in ptr linux.test.com.
137 in ptr xdw.test.com.
/Var/named/127.0.0.zone file configuration
@ In soa @ root. locahost. (2008080100 1 H 15 W 1 W 1D)
In ns locahost.
1 in ptr locahost.
These five files are compiled in total. After compilation, the named-checkconf check is normal. service named restart can start the named service normally, and tail/var/log/messages can also see running.
In windows, ping linux.test.com and xdw.test.com can be resolved to the correct address,
During nslookup in FC9, the following message is displayed: in windows, nslookup also has a similar prompt. Where is the configuration problem?
[Root @ linux etc] # nslookup
> Ping linux.test.com
Server: 10.47.32.152
Address: 10.47.32.152 #53
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.