Linux9 configure domain name reverse resolution-Linux Enterprise Application-Linux server application information. The following is a detailed description. # Tail-f/var/log/messages
======
Jan 29 11:14:38 hz named [21919]: dns_master_load: test. local: 8: unknown RR type '@'
Jan 29 11:14:38 hz named [21919]: zone 60.18.202.in-addr. arpa/IN: loading master file test. local: unknown class/type
# Vi test. local
======
$ TTL 86400
@ In soa test.com. root.test.com .(
20031001;
7200;
3600;
43200;
86400 );
@ In ns test.com. // After modifying @ and canceling the leading space, tail messages will be normal.
253 in ptr dns.test.com.
Vi/etc/named. conf
========
...
Zone "0.0.127.in-addr. arpa" IN {
Type master;
File "named. local ";
Allow-update {none ;};
};
Zone "test.com" IN {
Type master;
File "test. zone ";
Allow-query {any ;};
Allow-transfer {any ;};
Allow-update {none ;};
};
Zone "60.18.202.in-addr. arpa" IN {
Type master;
File "test. local ";
Allow-update {none ;};
};
Include "/etc/rndc. key ";
# Vi/var/named/test. zone
==========
$ TTL 86400; 1D
@ In soa ns.test.com. root.test.com .(
2005041402; Serial
28800; Refresh
14400; Retry
3600000; Expire
7200); Minimum
A 202.18.60.253
NS ns.test.com.
NS ns1.online.com.
MX 10 mail.test.com.
Test.com. in a 202.18.60.253
Ns in a 202.18.60.253
Www in a 202.18.60.253
Mail in a 202.18.60.21
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