Sorry for the cainiao configuration on the dns server. Thank you!
Source: Internet
Author: User
Thank you for choosing "Linux Enterprise Application"> "Linux server application". For details, refer to the following section. What is wrong with the dns configuration of laruence? Why is this the final result of every configuration?
[Root @ linux named] # nslookup
> Www.test.com
Server: 192.168.16.40
Address: 192.168.16.40 #53
** Server can't find www.test.com: SERVFAIL. Here is the specific information. I hope to help me answer this question. Thank you.
// System Version
[Root @ linux named] # lsb_release-
LSB Version: core-3.0-ia32: core-3.0-noarch: graphics-3.0-ia32: graphics-3.0-noarch
Distributor ID: RedHatEnterpriseAS
Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 3)
Release: 4
Codename: NahantUpdate3
// Host name
Linux.test.com
// Running environment
VMware 1, 6.0
// Configuration file
/Etc/named. conf
//
// Named. conf for Red Hat caching-nameserver
//
Options {
Directory "/var/named ";
Dump-file "/var/named/data/cache_dump.db ";
Statistics-file "/var/named/data/named_stats.txt ";
/*
* If there is a firewall between you and nameservers you want
* To talk to, you might need to uncomment the query-source
* Directive below. Previous versions of BIND always asked
* Questions using port 53, but BIND 8.1 uses an unprivileged
* Port by default.
*/
// Query-source address * port 53;
};
//
// A caching only nameserver config
//
Controls {
Inet 127.0.0.1 allow {localhost;} keys {rndckey ;};
};
Zone "." IN {
Type hint;
File "named. ca ";
};
Zone "localdomain" IN {
Type master;
File "localdomain. zone ";
Allow-update {none ;};
};
Zone "localhost" IN {
Type master;
File "localhost. zone ";
Allow-update {none ;};
};
Zone "0.0.127.in-addr. arpa" IN {
Type master;
File "named. local ";
Allow-update {none ;};
};
Zone "test.com" IN {
Type master;
File "test. name2ip ";
Allow-update {none ;};
};
Zone "16.168.192.in-addr. arpa" IN {
Type master;
File "test. ip2name ";
Allow-update {none ;};
};
Zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
Type master;
File "named. ip6.local ";
Allow-update {none ;};
};
Zone "255. in-addr.arpa" IN {
Type master;
File "named. broadcast ";
Allow-update {none ;};
};
Zone "0. in-addr.arpa" IN {
Type master;
File "named. zero ";
Allow-update {none ;};
};
Include "/etc/rndc. key ";
/Var/named/test. name2ip
$ TTL 86400
@ In soa linux.test.com. root.linux.test.com .(
42; serial (d. adams)
3 H; refresh
15 M; retry
1 W; expiry
1D); minimum
@ In ns linux.test.com.
Www in a 192.168.16.2
Ftp in a 192.168.16.25
/Var/named/test. ip2name
$ TTL 86400
@ In soa linux.test.com. root.linux.test.com .(
42; serial (d. adams)
3 H; refresh
15 M; retry
1 W; expiry
1D); minimum
@ In ns linux.test.com.
2 in ptr www.test.com.
15 in ptr ftp.test.com.
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