en el archivo named.rfc1912.zones tengo lo siguiente:
Código:
// named.rfc1912.zones:
//
// Provided by Red Hat caching-nameserver package
//
// ISC BIND named zone configuration for zones recommended by
// RFC 1912 section 4.1 : localhost TLDs and address zones
// and http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt
// (c)2007 R W Franks
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
#zone "grupomcsserver.local" IN {
# type master;
# file "forward.zone";
# allow-update { none; };
#};
#zone "localhost" IN {
# type master;
# file "named.localhost";
# allow-update { none; };
#};
#zone "1.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.loopback";
# allow-update { none; };
#};
#zone "1.0.0.127.in-addr.arpa" IN {
# type master;
# file "named.loopback";
# allow-update { none; };
#};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "reverse.zone";
allow-update { none; };
};
#zone "0.in-addr.arpa" IN {
# type master;
# file "named.empty";
# allow-update { none; };
#};
en reverse.zone está lo siguiente:
Código:
[root@gru ~]# cat /var/named/reverse.zone
$ORIGIN 1.168.192.in-addr.arpa.
$TTL 1D
@ IN SOA gru.grupomcsserver.com. root.gru.grupomcsserver.com. (
12 ; serial
4H ; refresh
1H ; retry
1W ; expire
1H ) ; minimum
@ IN NS gru.grupomcsserver.com.
50 IN PTR gru.grupomcsserver.com.
50 IN PTR www.grupomcsserver.com.
50 IN PTR mail.grupomcsserver.com.
50 IN PTR zpanel.grupomcsserver.com.
50 IN PTR ns1.grupomcsserver.com.
50 IN PTR ns2.grupomcsserver.com.
en /etc/zpanel/configs/bind/etc/named.conf está lo que sigue
Código:
zone "grupomcsserver.com" IN {
type master;
file "/etc/zpanel/configs/bind/zones/grupomcsserver.com.txt";
allow-transfer { any; };
};
y en /etc/zpanel/configs/bind/zones/grupomcsserver.com.txt lo que sigue:
Código:
$TTL 10800
@ IN SOA ns1.grupomcsserver.com. postmaster.grupomcsserver.com. (
2014051201 ;serial
21600 ;refresh after 6 hours
3600 ;retry after 1 hour
604800 ;expire after 1 week
86400 ) ;minimum TTL of 1 day
@ 3600 IN A 189.186.202.163
mail 86400 IN A 189.186.202.163
ns1 172800 IN A 189.186.202.163
ns2 172800 IN A 189.186.202.163
zpanel 86400 IN A 189.186.202.163
www 3600 IN CNAME @
ftp 3600 IN CNAME @
@ 86400 IN MX 10 mail.grupomcsserver.com.
@ 172800 IN NS nshmo3.uninet.net.mx.
@ 172800 IN NS nshmo4.uninet.net.mx.
espero que todo esto sirva de referencia, porque la verdad ya no se que hacer :s
NOTA: mi ip pública actual es: 189.186.202.163