Jornadas Software Libre GPUL - Inet4all
GPUL



Configuración básica del DNS (bind9):

  • /etc/bind/named.conf.options options { directory "/var/cache/bind"; auth-nxdomain no; # conform to RFC1035 allow-transfer { 127.0.0.1; }; allow-recursion { 127.0.0.1; 192.168.1.0/24; 192.168.2.0/24; }; };
  • /etc/bind/named.conf.local include "/etc/bind/zones.rfc1918"; zone "mi.red" { type master; file "/etc/bind/db.mi.red"; allow-query { 127.0.0.1; 192.168.1.0/24; 192.168.2.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; 192.168.2.0/24; }; };
  • /etc/bind/db.192.168.1 $TTL 86400 @ IN SOA server.mi.red. direccion.gmail.com. ( 2007110800 ; serial # 28800 ; refresh, seconds 7200 ; retry, seconds 3600000 ; expire, seconds 86400 ) ; minimum, seconds NS server.mi.red. 1 PTR server.mi.red.
  • /etc/bind/db.mi.red $TTL 86400 @ IN SOA server.mi.red. direccion.gmail.com. ( 2007110800 ; serial # 28800 ; refresh, seconds 7200 ; retry, seconds 3600000 ; expire, seconds 86400 ) ; minimum, seconds NS server.mi.red. localhost A 127.0.0.1 server A 192.168.1.1 proxy CNAME server abuse CNAME server wpad A 192.168.1.1