DNS

Imagen de Tonny

Forums: 

Tengo instalado en una red pequeña un servidor proxy squid con dns bind9 en ubuntu 6.06
y en el squid.conf tenia una linea como esta
dns_nameservers 192.168.1.1
donde 192.168.1.1 es la ip del servidor, funcionaba bien pero algunas paginas no resolvia y no se mostraban con el proxy pero en conexion directa si se mostraban, entonces puse directamente las ips del servidor
del adsl
dns_nameservers 202.188.0.133 202.188.1.5
y funciona perfecto
entonces que archivo puede estar mal en el bind9,
en el archivo /etc/bind/named.conf tengo puesto tambien las ips
forwarders {
202.188.0.133;
202.188.1.5;
};

Gracias desde ya!...

No creo que el problema

Imagen de barahonachrism

No creo que el problema esté en el named, revisa los archivos de resolución directa de tu DNS, algo hace falta en la resolución de dominio a ip que te falla.
Muestra la línea de código del named.conf en donde haces referencia a tu archivo de zona directa, y también tu archivo de zona directa para ver si te ayudo en algo.

Saludos, amigo...

La vida de un estudiante es el sacrificio, y su recompensa, ¡el éxito!

/etc/bind/ named.conf

Imagen de Tonny

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

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

// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };

// From the release notes:
// Because many of our users are uncomfortable receiving undelegated answers
// from root or top level domains, other than a few for whom that behaviour
// has been trusted and expected for quite some length of time, we have now
// introduced the "root-delegations-only" feature which applies delegation-only
// logic to all top level domains, and to the root domain. An exception list
// should be specified, including "MUSEUM" and "DE", and any other top level
// domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };

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

/etc/bind/named.conf.local

Imagen de Tonny

//
// 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 "midominio.com.ec" {
notify no;
type master;
file "/etc/bind/db.midominio.com.ec";
};

zone
"1.168.192.in-addr.arpa" {
notify no;
type master;
file "/etc/bind/db.192.168.1";
};

Revisa el archivo

Imagen de barahonachrism

Revisa el archivo db.midominio.com.ec, luego prueba la respuesta con

# nslookup tuserver.tudominio.com.ec
# nslookup tuserver

Si te retorna error quiere decir que las direcciones asignadas a tu servidor están mal.

La vida de un estudiante es el sacrificio, y su recompensa, ¡el éxito!