1
Servidores / [Resolvido] - Bind9 - Reverso dando erro
« Online: 29 de Maio de 2019, 19:00 »
Boa noite pessoal;
Estou tentando configurar o Bind9, está funcionando, contudo, quando eu faço um teste usando nslookup 172.10.10.1 da um erro...
Quando eu dou um nslookup ubsdns01.mura.local da este erro...
Eu pesquisei em vários lugares e não achei uma solução, alguém me da um help?
# cat named.conf.local
cat named.conf.options
zones$ cat mura.local.db
zones$ cat reverse.mura.local.db
/etc$ cat resolv.conf
Estou tentando configurar o Bind9, está funcionando, contudo, quando eu faço um teste usando nslookup 172.10.10.1 da um erro...
Citar
** server can't find 1.10.10.172.in-addr.arpa: SERVFAIL
Quando eu dou um nslookup ubsdns01.mura.local da este erro...
Citar
Server: 172.10.10.1
Address: 172.10.10.1#53
** server can't find obsdna01: NXDOMAIN
Eu pesquisei em vários lugares e não achei uma solução, alguém me da um help?
# cat named.conf.local
Citar
zone "mura.local" { //Domain name
type master; //Primary DNS
file "/etc/bind/zones/mura.local.db"; //Forward lookup file
//allow-update { none; }; // Since this is the primary DNS, it should be none.
};
zone "0.10.172.in-addr.arpa" { //Reverse lookup name, should match your network in reverse order
type master; // Primary DNS
file "/etc/bind/zones/reverse.mura.local.db"; //Reverse lookup file
//allow-update { none; }; //Since this is the primary DNS, it should be none.
};
cat named.conf.options
Citar
directory "/var/cache/bind";
auth-nxdomain no; # conform to RFC1035
// listen-on-v6 { any; };
listen-on port 53 { localhost; 172.10.0.0/24; };
allow-query { localhost; 172.10.0.0/24; };
forwarders { 172.10.10.1; };
recursion yes;
dnssec-validation auto;
zones$ cat mura.local.db
Citar
$TTL 604800
@ IN SOA ubsdns01.mura.local. root.ubsdns01.mura.local. (
6 ; Serial
604820 ; Refresh
86600 ; Retry
2419600 ; Expire
604600 ) ; Negative Cache TTL
;Name Server Information
@ IN NS ubsdns01.mura.local.
;IP address of Your Domain Name Server(DNS)
ubsdns01 IN A 172.10.10.1
;Mail Server MX (Mail exchanger) Record
mura.local. IN MX 10 mail.mura.local.
;A Record for Host names
www IN A 172.10.10.1
mail IN A 172.10.10.1
;CNAME Record
ftp IN CNAME www.mura.local.
zones$ cat reverse.mura.local.db
Citar
$TTL 604800
@ IN SOA mura.local. root.mura.local. (
21 ; Serial
604820 ; Refresh
864500 ; Retry
2419270 ; Expire
604880 ) ; Negative Cache TTL
;Your Name Server Info
@ IN NS ubsdns01.mura.local.
ubsdns01 IN A 172.10.10.1
;Reverse Lookup for Your DNS Server
40 IN PTR ubsdns01.mura.local.
;PTR Record IP address to HostName
50 IN PTR www.mura.local.
60 IN PTR mail.mura.local.
/etc$ cat resolv.conf
Citar
search mura.local.
nameserver 172.10.10.1
#options edns0