rendered paste bodyoptions
{
query-source port 53;
query-source-v6 port 53;
version "no seas sapo, no esta disponible XD";
listen-on-v6 { none; };
listen-on {127.0.0.1; 200.121.66.2;};
directory "/var/named"; // the default
dump-file "data/cache_dump.db";
statistics-file "data/named_stats.txt";
memstatistics-file "data/named_mem_stats.txt";
};
logging
{
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view "localhost_resolver"
{
match-clients { localhost; };
match-destinations { localhost; };
recursion yes;
//Archivo de root servers para el dns
zone "." in {
type hint;
file "db.cache";
};
//DOMINIO : MIRAFLORES.GOB.PE
zone "miraflores.gob.pe" in {
type master;
file "master/db.miraflores.gob.pe";
};
};
view "external"
{
match-clients { any; };
match-destinations { any; };
recursion no;
//Archivo de root servers para el dns
zone "." in {
type hint;
file "db.cache";
};
//DOMINIO : MIRAFLORES.GOB.PE
zone "miraflores.gob.pe" in {
type master;
file "master/db.miraflores.gob.pe";
};
};
include "/etc/rndc.key";
[root@voldemort ~]# ping www.google.com
ping: unknown host www.google.com
[root@voldemort ~]# cat /etc/resolv.conf
search miraflores.gob.pe
nameserver 200.121.66.2