Configuración de un servidor de DNS BIND
GPUL

Configuración de un servidor DNS

  • /etc/bind/named.conf options { directory "/var/cache/bind"; allow-transfer { 127.0.0.1; }; allow-recursion { 127.0.0.1; 192.168.1.0/24; }; }; // reduce log verbosity on issues outside our control logging { category lame-servers { null; }; category cname { null; }; }; // 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"; }; // add entries for other zones below here zone "trasno.net" { type master; file "/etc/bind/db.trasno.net"; allow-transfer { 194.117.194.82; }; }; zone "manty.net" { type master; file "/etc/bind/db.manty.net"; allow-transfer { 212.51.33.11; }; }; zone "arroutada.org" { type slave; masters { 212.51.33.11; }; file "/etc/bind/db.arroutada.org"; }; zone "beta.es" { type master; file "/etc/bind/db.beta.es"; allow-query { 127.0.0.1; 192.168.1.0/24; }; }; zone "1.168.192.in-addr.arpa" { type master; file "/etc/bind/db.192.168.1"; allow-query { 127.0.0.1; 192.168.1.0/24; }; };