jsoliveira
(usa Debian)
Enviado em 27/05/2015 - 09:11h
Bom dia Fabio,
Muito obrigado pela a ajuda e pelo o ensinamento.
Vou postar a minha configuração do BIND e o ping, fiz o teste do ping e ele dispara para o IP 189.90.143.35 e não responde.
Quando entrei na empresa já existia a configuração e ate então estou procurando aprender, mais.
Vou disponibilizar as configurações do DNS.
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";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
include "/etc/bind/reverso.local";
NAME.CONF.LOCAL
//
// GeoEnergy
//
zone "geoenergy.lan" {
type master;
file "db/geoenergy.lan";
allow-query { trusted; };
allow-update { key "geokey"; };
//update-policy { grant dhcp-server-key subdomain geoenergy.lan ANY; grant * self * A TXT; };
};
zone "geoenergy.com.br" {
type master;
file "db/geoenergy.com.br";
allow-query { any; };
};
NAMED.CONF.DEFAULT-ZONES
// 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";
};
NAMED.CONF.OPTIONS
logging {
category lame-servers { null; };
};
key "rndc-key" {
algorithm hmac-md5;
secret "lgX+qVvzktkKjhuiAYSjEw==";
};
key "geokey" {
algorithm hmac-md5;
secret "u0I2ve8C8wa2mgHIvKr+FQ==";
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; "geokey"; };
};
acl trusted {
127.0.0.1/8;
127.0.0.1/32;
192.168.0.2/32;
192.168.0.2/8;
192.168.0.0/24;
};
options {
directory "/var/cache/bind";
query-source address * port *;
listen-on-v6 { none; };
listen-on { 127.0.0.1; 192.168.0.2; };
version "none";
allow-recursion { trusted; };
allow-notify { trusted; };
allow-transfer { trusted; key geokey; };
allow-query { trusted; };
dnssec-validation no;
auth-nxdomain no;
listen-on-v6 { any; };
forwarders {
// Google
8.8.8.8;
8.8.4.4;
// Terra
200.176.2.12;
200.176.2.10;
// BRT
201.10.1.2;
201.10.120.3;
// GVT
200.175.5.139;
200.175.182.139;
};
};
REVERSO.LOCAL
// zonas reversas do dominio
zone "0.168.192.in-addr.arpa" {
type master;
file "rev/0.168.192.in-addr.arpa";
allow-update { key "geokey"; };
//update-policy { grant dhcp-server-key subdomain 0.168.192.in-addr.arpa. ANY; grant * self * A TXT; };
};
Se poder me ajudar muito obrigado