User Tools

Site Tools


informatica:linux:bind

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
informatica:linux:bind [2013/07/03 11:02]
127.0.0.1 external edit
informatica:linux:bind [2015/04/13 22:19] (current)
Line 163: Line 163:
  
   sudo rndc reload   sudo rndc reload
 +  ​
 +==== Errores ====
 +
 +=== Errores ===
 +
 +
 +  nslookup jamgo.es
 +
 +<​code>​
 +Server:​ 127.0.0.1
 +Address:​ 127.0.0.1#​53
 +
 +** server can't find jamgo.es: REFUSED
 +</​code>​
 +
 +Logs:
 +
 +  /​var/​log/​syslog
 +
 +  Jan 22 14:28:55 dns-1 named[1082]:​ client 10.7.13.144#​34533 (jamgo.es): query (cache) '​jamgo.es/​A/​IN'​ denied
 +
 +**Solucion**
 +
 +  sudo vim /​etc/​bind/​named.conf
 +  ​
 +Anyadir el rango de IPs que toquen:
 +
 +<​code>​
 +# ANYADIDO 22/012015
 +acl "​trusted"​ {
 +    10.7.13.0/​24;​
 +};
 +</​code>​
 +
 +Y editar dentro de el bloque options esto:
 +
 +<​code>​
 +options {
 +        # ADD
 +        allow-query { trusted; };
 +        allow-recursion { trusted; };
 +        allow-query-cache { trusted; };
 +};
 +</​code>​
 +
 +Recargar config:
 +
 +  sudo /​etc/​init.d/​bind9 reload
 +  ​
informatica/linux/bind.txt · Last modified: 2015/04/13 22:19 (external edit)