elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Security Series.XSS. [Cross Site Scripting]


+  Foro de elhacker.net
|-+  Sistemas Operativos
| |-+  GNU/Linux (Moderador: MinusFour)
| | |-+  ispconfig problema con bind9
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: 1 [2] Ir Abajo Respuesta Imprimir
Autor Tema: ispconfig problema con bind9  (Leído 6,273 veces)
tecasoft


Desconectado Desconectado

Mensajes: 319

Ciberseguridad tecasoft.com


Ver Perfil WWW
Re: ispconfig problema con bind9
« Respuesta #10 en: 6 Junio 2015, 01:01 am »

Código
  1. root@tecasoft:/etc/bind# cat named.conf
  2. // This is the primary configuration file for the BIND DNS server named.
  3. //
  4. // Please read /usr/share/doc/bind9/README.Debian.gz for information on the
  5. // structure of BIND configuration files in Debian, *BEFORE* you customize
  6. // this configuration file.
  7. //
  8. // If you are just adding zones, please do that in /etc/bind/named.conf.local
  9.  
  10. include "/etc/bind/named.conf.options";
  11. include "/etc/bind/named.conf.local";
  12. include "/etc/bind/named.conf.default-zones";
  13.  
  14.  


Código
  1. root@tecasoft:/etc/bind# cat named.conf.default-zones
  2. // prime the server with knowledge of the root servers
  3. zone "." {
  4. type hint;
  5. file "/etc/bind/db.root";
  6. };
  7.  
  8. // be authoritative for the localhost forward and reverse zones, and for
  9. // broadcast zones as per RFC 1912
  10.  
  11. zone "localhost" {
  12. type master;
  13. file "/etc/bind/db.local";
  14. };
  15.  
  16. zone "127.in-addr.arpa" {
  17. type master;
  18. file "/etc/bind/db.127";
  19. };
  20.  
  21. zone "0.in-addr.arpa" {
  22. type master;
  23. file "/etc/bind/db.0";
  24. };
  25.  
  26. zone "255.in-addr.arpa" {
  27. type master;
  28. file "/etc/bind/db.255";
  29. };
  30.  
  31.  

Código
  1. root@tecasoft:/etc/bind# cat named.conf.options
  2. options {
  3. directory "/var/cache/bind";
  4.  
  5. // If there is a firewall between you and nameservers you want
  6. // to talk to, you may need to fix the firewall to allow multiple
  7. // ports to talk.  See http://www.kb.cert.org/vuls/id/800113
  8.  
  9. // If your ISP provided one or more IP addresses for stable
  10. // nameservers, you probably want to use them as forwarders.  
  11. // Uncomment the following block, and insert the addresses replacing
  12. // the all-0's placeholder.
  13.  
  14. // forwarders {
  15. // 0.0.0.0;
  16. // };
  17.  
  18. //========================================================================
  19. // If BIND logs error messages about the root key being expired,
  20. // you will need to update your keys.  See https://www.isc.org/bind-keys
  21. //========================================================================
  22. dnssec-validation auto;
  23.  
  24. auth-nxdomain no;    # conform to RFC1035
  25. listen-on-v6 { any; };
  26. };
  27.  
  28.  


Código
  1. root@tecasoft:/etc/bind# cat zones.rfc1918
  2. zone "10.in-addr.arpa"      { type master; file "/etc/bind/db.empty"; };
  3.  
  4. zone "16.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
  5. zone "17.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
  6. zone "18.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
  7. zone "19.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
  8. zone "20.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
  9. zone "21.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
  10. zone "22.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
  11. zone "23.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
  12. zone "24.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
  13. zone "25.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
  14. zone "26.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
  15. zone "27.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
  16. zone "28.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
  17. zone "29.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
  18. zone "30.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
  19. zone "31.172.in-addr.arpa"  { type master; file "/etc/bind/db.empty"; };
  20.  
  21. zone "168.192.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
  22.  
  23.  

Código
  1. root@tecasoft:/etc/bind# cat db.empty
  2. ; BIND reverse data file for empty rfc1918 zone
  3. ;
  4. ; DO NOT EDIT THIS FILE - it is used for multiple zones.
  5. ; Instead, copy it, edit named.conf, and use that copy.
  6. ;
  7. $TTL 86400
  8. @ IN SOA localhost. root.localhost. (
  9.      1 ; Serial
  10. 604800 ; Refresh
  11.  86400 ; Retry
  12. 2419200 ; Expire
  13.  86400 ) ; Negative Cache TTL
  14. ;
  15. @ IN NS localhost.
  16.  
  17.  


« Última modificación: 6 Junio 2015, 01:21 am por tecasoft » En línea

http://www.tecasoft.com Un ninja del hacking etico, programacion en html5, css3, javascript, jquery, php, python, c/c++, ensamblador, ingenieria reversa,a auditorias de seguridad, pentesting, exploits
MinusFour
Moderador Global
***
Desconectado Desconectado

Mensajes: 5.529


I'm fourth.


Ver Perfil WWW
Re: ispconfig problema con bind9
« Respuesta #11 en: 6 Junio 2015, 01:28 am »

No esta la zona en cuestión dentro del named.conf. ¿Será algo del ispconfig? Creo que el script no tiene permisos para escribir sobre el archivo, por eso no pudo agregar la zona. Aunque... creo que la carpeta de /etc/bind es igual de restrictiva.


En línea

tecasoft


Desconectado Desconectado

Mensajes: 319

Ciberseguridad tecasoft.com


Ver Perfil WWW
Re: ispconfig problema con bind9
« Respuesta #12 en: 6 Junio 2015, 01:48 am »

que me recomiendas que haga?
En línea

http://www.tecasoft.com Un ninja del hacking etico, programacion en html5, css3, javascript, jquery, php, python, c/c++, ensamblador, ingenieria reversa,a auditorias de seguridad, pentesting, exploits
MinusFour
Moderador Global
***
Desconectado Desconectado

Mensajes: 5.529


I'm fourth.


Ver Perfil WWW
Re: ispconfig problema con bind9
« Respuesta #13 en: 6 Junio 2015, 02:03 am »

que me recomiendas que haga?

Pues puedes intentar ponerle permisos de escrituras a others pero siento que no es una buena idea. Podrías también agregar la zona manualmente. La syntax es parecida a las demás. La zona se debe llamar tecasoft.local y reinicia el server.
En línea

tecasoft


Desconectado Desconectado

Mensajes: 319

Ciberseguridad tecasoft.com


Ver Perfil WWW
Re: ispconfig problema con bind9
« Respuesta #14 en: 6 Junio 2015, 02:57 am »

resuelve tecasoft.local cambiando permisos a la carpeta /etc/bind pero no resuelve www.tecasoft.local
En línea

http://www.tecasoft.com Un ninja del hacking etico, programacion en html5, css3, javascript, jquery, php, python, c/c++, ensamblador, ingenieria reversa,a auditorias de seguridad, pentesting, exploits
MinusFour
Moderador Global
***
Desconectado Desconectado

Mensajes: 5.529


I'm fourth.


Ver Perfil WWW
Re: ispconfig problema con bind9
« Respuesta #15 en: 6 Junio 2015, 03:04 am »

resuelve tecasoft.local cambiando permisos a la carpeta /etc/bind pero no resuelve www.tecasoft.local

Es porque necesitas agregar un registro www.
En línea

tecasoft


Desconectado Desconectado

Mensajes: 319

Ciberseguridad tecasoft.com


Ver Perfil WWW
Re: ispconfig problema con bind9
« Respuesta #16 en: 6 Junio 2015, 03:24 am »

me sigue dando problemas cuando le parece va y cuando no, no va, estoy hecho un lio
En línea

http://www.tecasoft.com Un ninja del hacking etico, programacion en html5, css3, javascript, jquery, php, python, c/c++, ensamblador, ingenieria reversa,a auditorias de seguridad, pentesting, exploits
Páginas: 1 [2] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Configurar Bind9 para AP
Hacking Wireless
Highway1 1 2,371 Último mensaje 6 Mayo 2010, 15:31 pm
por xv0
Error cuando instalo Ispconfig 2
GNU/Linux
Brehaf 4 3,058 Último mensaje 12 Mayo 2010, 07:57 am
por Brehaf
problemas con bind9
GNU/Linux
tecasoft 1 3,362 Último mensaje 26 Junio 2010, 16:18 pm
por tecasoft
Servidor DNS con bind9
Hacking
Ambr0si0 5 5,485 Último mensaje 20 Noviembre 2010, 00:08 am
por madpitbull_99
Problema al crear 2º zona \ Bind9
Redes
RRedington21 4 2,960 Último mensaje 17 Enero 2021, 13:49 pm
por RRedington21
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines