Meu endereço de IP é 1.2.3.4
(ip único para o servidor de email e dns) e meu nome de domínio é example.com, eu uso o Centos 7 e vinculo 9
saída de comando:
'host 1.2.3.4'
é:
'Host 4.3.2.1.in-addr.arpa. not found: 3(NXDOMAIN)'
Meu /etc/named.zones
é:
zone "example.com" {
type master;
file "/var/named/example.com.zone";
allow-query { any; };
allow-transfer { slaves; };
};
zone "3.2.1.in-addr.arpa" {
type master;
notify no;
file "/var/named/example.com.ptr.zone";
allow-query { any; };
allow-transfer { slaves; };
};
e /var/named/example.com.zone
são:
; Zone file for example.com
@ 100 IN SOA ns1.example.com. admin.example.com. (
2015052700 ; serial, todays date+todays
28800 ; refresh, seconds
7200 ; retry, seconds
2419200 ; expire, seconds
86400 ) ; minimum, seconds
; DEFINE NS RECORDS
example.com. 100 IN NS ns1.example.com.
example.com. 100 IN NS ns2.example.com.
; A RECORDS
ns1.example.com. 100 IN A 1.2.3.4
ns2.example.com. 100 IN A 1.2.3.4
example.com. 100 IN A 1.2.3.4
mail.example.com. 100 IN A 1.2.3.4
; MX RECORDS
example.com. 100 IN MX 0 mail.example.com.
; CNAME RECORDS
imap 100 IN CNAME mail.example.com.
smtp 100 IN CNAME mail.example.com.
www.example.com. IN CNAME example.com.
; TXT/SPF RECORDS
example.com. 14000 IN TXT "v=spf1 a mx ~all"
example.com. 14000 IN SPF "v=spf1 a mx ~all"
e /var/named/example.com.ptr.zone
são:
$TTL 3D
@ IN SOA ns1.example.com. example.com. (
2015090900 ; Serial, todays date + todays serial
6H ; Refresh
1H ; Retry
1W ; Expire
1D) ; Minimum TTL
IN NS ns1.example.com.
IN NS ns2.example.com.
$ORIGIN 3.2.1.in-addr.arpa.
4 PTR ns1.example.com.
4 PTR www.example.com.
4 PTR example.com.
Eu tenho o VPS, o DNS avançado funciona perfeitamente, mas o DNS reverso não funcionou, o gmail detecta meus e-mails como spam, o que está errado?
Também começo named
service e named-chroot
service, está errado?