Bueno entonces te voy a pasar la configuracion que tengo actualmente:
en archivo NAMED.CONF esta asi:
Código:
//
// named.conf for Red Hat caching-nameserver
//
options {
# listen-on port 53 { 200.119.30.114; localhost; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
forwarders {200.75.51.132; 200.75.51.133; };
forward only;
query-source port 53;
# allow-query { 200.119.30.0/24; 190.146.118.168; 192.168.0.0/24; localhost; };
allow-recursion { 200.119.30.0/24; 190.146.118.168; 192.168.0.0/24; localhost; };
recursion yes;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
#zone "localdomain" IN {
# type master;
# file "localdomain.zone";
# allow-update { none; };
#};
zone "fundexe.org.co" IN {
# notify no;
type master;
file "fundexe.org.co.zone";
allow-update { none; };
# allow-query { any; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "30.119.200.in-addr.arpa" {
notify no;
type master;
file "30.119.200.in-addr.arpa.zone";
allow-update { none; };
# allow-query { any; };
};
zone "0.168.192.in-addr.arpa" {
type master;
file "0.168.192.in-addr.arpa.zone";
allow-update { none; };
};
#zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
# type master;
# file "named.ip6.local";
# allow-update { none; };
#};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
#zone "0.in-addr.arpa" IN {
# type master;
# file "named.zero";
# allow-update { none; };
#};
include "/etc/rndc.key";
La zona fundexe.org.co es asi:
Código:
$TTL 3D
@ IN SOA thanos.fundexe.org.co. root.fundexe.org.co. (
2009040815 ; serial (d. adams)
8H ; refresh
3H ; retry
1W ; expiry
1D ) ; minimum
IN NS thanos.fundexe.org.co.
IN MX 10 correo.fundexe.org.co.
localhost IN A 127.0.0.1
thanos IN A 200.119.30.114
www IN A 200.119.30.114
correo IN A 200.119.30.114
ftp IN A 200.119.30.114
La zona del localhosts es asi:
Código:
$TTL 3D
@ IN SOA thanos.fundexe.org.co root.fundexe.org.co (
57 ; serial (d. adams)
8H ; refresh
3H ; retry
1W ; expiry
1D ) ; minimum
IN NS thanos.fundexe.org.co.
localhost IN A 127.0.0.1
; IN AAAA ::1