Problema com DNS da rede interna

1. Problema com DNS da rede interna

André
r41d3n

(usa Debian)

Enviado em 05/02/2010 - 12:25h

Galera, é o seguinte: Tenho o bind9 instalado na minha máquina ubuntu9.10, acesso a Internet através de uma rede interna com modem ADLS compartilhado. Tenho um roteador wireless conectado por cabo a essa rede e tenho outra rede interna configurada para as máquinas da minha casa (com IP diferente da do provedor). Em alguns momentos dá pau no DNS do provedor e mesmo tendo o meu DNS configurado, não consigo resolver nomes de sites. Talvez posso estar esquecendo de alguma coisa, por isso vou postar meus arquivos de configuração:

db.opensolutions.linux:
$TTL 604800
@ IN SOA slayer.opensolutions.linux. root.slayer.opensolutions.linux. (
2009011166 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS slayer.opensolutions.linux.
@ IN A 10.253.67.12

db.253.10:
$TTL 604800
@ IN SOA slayer.opensolutions.linux. root.slayer.opensolutions.linux. (
2009011166 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS slayer.opensolutions.linux.
12.67 IN PTR slayer.opensolutions.linux.

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";

zone "opensolutions.linux" {
type master;
file "/etc/bind/db.opensolutions.linux";
};

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

named.conf.options:
options {
directory "/etc/bind";
version "não disponível";
// 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 { 8.8.8.8; 8.8.4.4; };
listen-on { 127.0.0.1; 10.253.67.12; };
allow-query { 127.0.0.0/8; 10.253.67.8/28; };
auth-nxdomain yes; # conform to RFC1035
};

named.conf:
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
include "/etc/bind/named.conf.options";

acl intranet {
127.0.0.1/8;
10.253.67.8/28;
};

view "local"
{
match-clients { intranet; };
match-destinations { intranet; };
recursion yes;

include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
};

view "Internet"
{
match-clients { !intranet; };
match-destinations { !intranet; };
recursion no;

include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
};

Acredito que o problema seja no DNS do provedor, pois consigo pingar o IP do gateway da rede do provedor (192.168.1.1), mas não pingo nenhum IP público. Eu queria encontrar uma maneira de ficar independente do DNS do provedor, resolvendo os IPs internos e externos com meu próprio DNS local.
Fico no aguardo de vcs, vlw!!


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts