marcosvinicius12
(usa Ubuntu)
Enviado em 03/11/2015 - 14:49h
Pessoal, acho que era o cache do DNS, agora esta normalisando.
Porém meu servidor esta com alguns problemas..hehehe
O DNS reverso não esta funcionando, vou colcoar as confs do servidor aqui
named.conf
##################
acl clientes {
localhost;
IP_ASN /22;
};
options {
listen-on port 53 { 127.0.0.1; clientes; };
listen-on-v6 port 53 { any; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; any; };
allow-query-cache { clientes; };
allow-query-cache-on { any; };
allow-transfer { IP_SLAVE; }; #DNS SLAVE
transfer-format many-answers;
version "Not avaliable";
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
forwarders {
IP_DNS_FORWARD;
IP_DNS_FORWARD;
};
auth-nxdomain no;
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view "interna" {
match-clients { clientes; };
zone-statistics yes;
recursion yes;
#############ZONAS##############################
zone "hypernettelecom.com" IN {
type master;
file "/var/named/hypernettelecom.com.hosts";
allow-update { none; };
#allow-transfer { IP_SLAVE; };# DNS Slave
#allow-query { any; };
};
zone "216.184.177.in-addr.arpa" IN {
type master;
file "/var/named/IP_SERVIDOR.rev";
allow-update { none; };
#allow-transfer { IP_SLAVE; };# DNS Slave
#allow-query { any; };
};
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
};
view "externa" {
match-clients { any; };
zone-statistics yes;
recursion no;
additional-from-auth no;
additional-from-cache no;
#############ZONAS##############################
zone "hypernettelecom.com" IN {
type master;
file "/var/named/hypernettelecom.com.hosts";
allow-update { none; };
#allow-transfer { IP_SLAVE; };# DNS Slave
#allow-query { any; };
};
zone "216.184.177.in-addr.arpa" IN {
type master;
file "/var/named/IP_SERVIDOR.rev";
allow-update { none; };
#allow-transfer { IP_SLAVE; };# DNS Slave
#allow-query { any; };
};
};
ZONA DOMINIO
#############
$TTL 86400
@ IN SOA ns1.hypernettelecom.com. root.hypernettelecom.com. (
2015073020 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ) ;Minimum TTL
;
@ IN NS ns1.hypernettelecom.com.
@ IN NS ns2.hypernettelecom.com.
@ IN A IP_SERVIDOR
;@ IN A IP_SERVIDOR
ns1 IN A IP_SERVIDOR
ns2 IN A iIP_SERVIDOR
ZONA REVERSA
###################
$TTL 86400
@ IN SOA ns1.hypernettelecom.com. root.hypernettelecom.com. (
2015073020 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ) ;Minimum TTL
@ IN NS ns1.hypernettelecom.com.
;@ IN NS ns2.hypernettelecom.com.
@ IN PTR hypernettelecom.com.
;ns1 IN A IP_SERVIOR
;ns2 IN A IP_SERVIDOR
25 IN PTR ns1.hypernettelecom.com.
26 IN PTR ns2.hypernettelecom.com.
Configurei o resolv.conf dos servidor:
search hypernettelecom.com
nameserver IP_SERVIDOR
e o arquivo /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
IP_SERVIDOR ns1.hypernettelecom.com ns1
Desde já agradeço