dns não funcionando dentro da intranet

1. dns não funcionando dentro da intranet

João Bosco Macêdo
jbm5688

(usa Slackware)

Enviado em 14/02/2011 - 20:28h

O meu dns esta muito estranhao


fazemos o cheque e ele diz que esta ok

dns1:/etc/bind# named-checkzone rnnet.com.br /var/cache/bind/rnnet.com.br
zone rnnet.com.br/IN: loaded serial 2011020901
OK
dns1:/etc/bind#


meu named.conf
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers

zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "rnnet.com.br" {
type master;
file "/etc/bind/rnnet.com.br";
};

zone "0-254.16.250.186.in-addr.arpa" in {
type master;
file "/etc/bind/db.1.16.250.186";
};


zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

include "/etc/bind/named.conf.local";

meu named.conf.local
//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
include "/etc/bind/zones.rfc1918";

meu named.conf.options
options {
directory "/var/cache/bind";

// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113

// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.

forwarders {
0.0.0.0;
};

auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};


O meu dominio

rnnet.com.br

$TTL 38400
@ IN SOA dns1.rnnet.com.br. suporte.rnnet.com.br. (
2011020901
10800
3600
604800
38400 )
@ IN NS dns1.rnnet.com.br.
@ IN NS dns2.rnnet.com.br.

rnnet.com.br. IN MX 10 mail.rnnet.com.br.
dns1 IN A 186.250.16.3
dns2 IN A 186.250.16.4
www IN A 186.250.16.4
webmail IN A 186.250.16.5
mail IN A 186.250.16.5
smtp IN A 186.250.16.5
pop IN A 186.250.16.5



o meu db.root

; This file holds the information on root name servers needed to
; initialize cache of Internet domain name servers
; (e.g. reference this file in the "cache . <file>"
; configuration file of BIND domain name servers).
;
; This file is made available by InterNIC
; under anonymous FTP as
; file /domain/named.root
; on server FTP.INTERNIC.NET
; -OR- RS.INTERNIC.NET
;
; last update: Feb 04, 2008
; related version of root zone: 2008020400
;
; formerly NS.INTERNIC.NET
;
. 3600000 IN NS A.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
A.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:BA3E::2:30
;
; formerly NS1.ISI.EDU
;
. 3600000 NS B.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201
;
; formerly C.PSI.NET
;
. 3600000 NS C.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
;
; formerly TERP.UMD.EDU
;
. 3600000 NS D.ROOT-SERVERS.NET.
D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90
;
; formerly NS.NASA.GOV

; formerly NS.NASA.GOV
;
. 3600000 NS E.ROOT-SERVERS.NET.
E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
;
; formerly NS.ISC.ORG
;
. 3600000 NS F.ROOT-SERVERS.NET.
F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
F.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2f::f
;
; formerly NS.NIC.DDN.MIL
;
. 3600000 NS G.ROOT-SERVERS.NET.
G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
;
; formerly AOS.ARL.ARMY.MIL
;
. 3600000 NS H.ROOT-SERVERS.NET.
H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53
H.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:1::803f:235
;
; formerly NIC.NORDU.NET
;
. 3600000 NS I.ROOT-SERVERS.NET.
I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
;
; operated by VeriSign, Inc.
;
. 3600000 NS J.ROOT-SERVERS.NET.
J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30
J.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:C27::2:30
;
; operated by RIPE NCC
;
. 3600000 NS K.ROOT-SERVERS.NET.
K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129
K.ROOT-SERVERS.NET. 3600000 AAAA 2001:7fd::1
;
; operated by ICANN
;
. 3600000 NS L.ROOT-SERVERS.NET.
L.ROOT-SERVERS.NET. 3600000 A 199.7.83.42
;
; operated by WIDE
;
. 3600000 NS M.ROOT-SERVERS.NET.
M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33
M.ROOT-SERVERS.NET. 3600000 AAAA 2001:dc3::35
; End of File


o meu db.local

;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
@ IN A 127.0.0.1
~



  


2. Re: dns não funcionando dentro da intranet

Daniel Vieceli
DanielVieceli755

(usa Debian)

Enviado em 14/02/2011 - 20:37h

Opa,da um tail -f /var/log/syslog | grep named , para ver os log e ve se tem algum erro.



3. Re: dns não funcionando dentro da intranet

João Bosco Macêdo
jbm5688

(usa Slackware)

Enviado em 14/02/2011 - 20:42h

Feb 14 17:44:12 dns1 named[4515]: client 189.3.109.24#62669: query (cache) 'wpad/A/IN' denied
Feb 14 17:44:13 dns1 named[4515]: client 186.250.17.23#65199: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 17:44:13 dns1 named[4515]: client 186.250.17.103#65493: query (cache) 'time-nw.nist.gov/A/IN' denied
Feb 14 17:44:14 dns1 named[4515]: client 186.250.17.45#51697: query (cache) 'teredo.ipv6.microsoft.com/A/IN' denied
Feb 14 17:44:14 dns1 named[4515]: client 186.250.17.23#58883: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 17:44:15 dns1 named[4515]: client 186.250.17.23#58680: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 17:44:16 dns1 named[4515]: client 186.250.17.23#62489: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 17:44:16 dns1 named[4515]: client 186.250.16.65#19680: query (cache) 'BRN001BA91862F4.rufitos/A/IN' denied
Feb 14 17:44:17 dns1 named[4515]: client 186.250.17.23#62626: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 17:44:18 dns1 named[4515]: client 186.250.17.23#60772: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 17:44:18 dns1 named[4515]: client 186.250.16.65#16117: query (cache) 'BRN001BA91862F4.rufitos/A/IN' denied
Feb 14 17:44:19 dns1 named[4515]: client 186.250.17.23#54031: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 17:44:19 dns1 named[4515]: client 186.250.17.59#56050: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/AAAA/IN' denied
Feb 14 17:44:19 dns1 named[4515]: client 186.250.17.59#51524: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/A/IN' denied
Feb 14 17:44:19 dns1 named[4515]: client 186.250.17.59#58584: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/AAAA/IN' denied
Feb 14 17:44:19 dns1 named[4515]: client 186.250.17.59#65098: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/A/IN' denied
Feb 14 17:44:20 dns1 named[4515]: client 186.250.17.59#60039: query (cache) 'SEDEBRDC01.cimporbr.cimpor.root/AAAA/IN' denied
Feb 14 17:44:20 dns1 named[4515]: client 186.250.17.59#60382: query (cache) 'SEDEBRDC01.cimporbr.cimpor.root/AAAA/IN' denied
Feb 14 17:44:20 dns1 named[4515]: client 186.250.17.59#50839: query (cache) 'SEDEBRDC01.cimporbr.cimpor.root/A/IN' denied
Feb 14 17:44:20 dns1 named[4515]: client 186.250.17.59#61588: query (cache) 'SEDEBRDC01.cimporbr.cimpor.root/A/IN' denied
Feb 14 17:44:20 dns1 named[4515]: client 186.250.17.23#65200: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 17:44:20 dns1 named[4515]: client 186.250.17.59#62460: query (cache) 'SEDEBRDC01.cimporbr.cimpor.root/AAAA/IN' denied
Feb 14 17:44:20 dns1 named[4515]: client 186.250.17.59#65099: query (cache) 'SEDEBRDC01.cimporbr.cimpor.root/A/IN' denied
Feb 14 17:44:20 dns1 named[4515]: client 186.250.17.59#49679: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/AAAA/IN' denied
Feb 14 17:44:20 dns1 named[4515]: client 186.250.17.59#61672: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/A/IN' denied
Feb 14 17:44:21 dns1 named[4515]: client 186.250.17.59#58932: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/AAAA/IN' denied
Feb 14 17:44:21 dns1 named[4515]: client 186.250.16.65#52190: query (cache) 'BRN001BA91862F4.rufitos/A/IN' denied
Feb 14 17:44:21 dns1 named[4515]: client 186.250.17.59#49635: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/A/IN' denied
Feb 14 17:44:21 dns1 named[4515]: client 186.250.17.23#50780: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 17:44:21 dns1 named[4515]: client 186.250.17.59#65100: query (cache) 'SEDEBRDC01.cimporbr.cimpor.root/AAAA/IN' denied
Feb 14 17:44:21 dns1 named[4515]: client 186.250.17.59#55032: query (cache) 'SEDEBRDC01.cimporbr.cimpor.root/A/IN' denied
Feb 14 17:44:21 dns1 named[4515]: client 186.250.17.59#58514: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/AAAA/IN' denied
Feb 14 17:44:21 dns1 named[4515]: client 186.250.17.59#54615: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/A/IN' denied
Feb 14 17:44:21 dns1 named[4515]: client 186.250.17.59#49518: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/AAAA/IN' denied
Feb 14 17:44:21 dns1 named[4515]: client 186.250.17.59#65101: query (cache) 'Sedeexchclmb.cimporwan.cimpor.root/A/IN' denied
Feb 14 17:44:22 dns1 named[4515]: client 186.250.17.23#65201: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 17:44:23 dns1 named[4515]: client 186.250.17.23#54550: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 17:44:24 dns1 named[4515]: client 186.250.17.23#65202: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 17:44:25 dns1 named[4515]: client 186.250.17.23#56686: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 17:44:25 dns1 named[4515]: client 186.250.17.20#63578: query (cache) 'www.google-analytics.com/A/IN' denied
Feb 14 17:44:26 dns1 named[4515]: client 186.250.17.23#58763: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 17:44:27 dns1 named[4515]: client 186.250.17.23#56358: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 17:44:28 dns1 named[4515]: network unreachable resolving 'c1.ac-images.myspacecdn.com/A/IN': 2001:503:231d::2:30#53
Feb 14 17:44:28 dns1 named[4515]: client 186.250.17.23#62251: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 17:44:28 dns1 named[4515]: network unreachable resolving 'public.blu.livefilestore.com/A/IN': 2001:503:231d::2:30#53
Feb 14 17:44:29 dns1 named[4515]: client 186.250.17.23#51428: query (cache) 'swupmf.adobe.com/A/IN' denied
Feb 14 17:44:29 dns1 named[4515]: network unreachable resolving 'NS3.amung.us/A/IN': 2001:503:a124:ffff:ffff:ffff:ffff:ff7e#53
Feb 14 17:44:29 dns1 named[4515]: network unreachable resolving 'NS3.amung.us/AAAA/IN': 2001:500:3682::11#53
Feb 14 17:44:30 dns1 named[4515]: client 186.250.17.23#55740: query (cache) 'swupmf.adobe.com/A/IN' denied







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts