Ticket #606 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

forbid recursion and dns poisoning

Reported by: anarcat Owned by: anonymous
Priority: urgent Milestone: alternc-0.9.5
Component: Domaines et vhosting Version: alternc-0.9.3.1
Severity: block Keywords:
Cc:

Description

http://alternc.org/marchives/dev/2006-March/002151.html

--- /etc/bind/named.conf.svg    Wed Mar 29 12:03:06 2006
+++ /etc/bind/named.conf        Wed Mar 29 12:15:51 2006
@@ -28,6 +28,8 @@
        auth-nxdomain no;    # conform to RFC1035
         allow-query     { "internal"; };
         allow-transfer  { "allslaves"; };
+       allow-recursion { "internal"; "allslaves"; };
+       fetch-glue no;

 };

i'd even go for recursion no;

Change History

comment:1 Changed 7 years ago by anarcat

fixed in [944].

comment:2 Changed 7 years ago by anarcat

  • Status changed from new to closed
  • Resolution set to fixed

comment:3 Changed 7 years ago by denis

config: warning: /etc/bind/named.conf:24: option 'fetch-glue' is obsolete

comment:4 Changed 7 years ago by denis

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:5 Changed 7 years ago by anarcat

  • Milestone changed from 0.9.4 to 0.9.5

ah. et c'est quoi le remplacement?

comment:6 Changed 7 years ago by anarcat

  • Status changed from reopened to closed
  • Resolution set to fixed

 http://www.isc.org/sw/bind/arm93/Bv9ARM.ch06.html#options

fetch-glue

This option is obsolete. In BIND 8, fetch-glue yes caused the server to attempt to fetch glue resource records it didn't have when constructing the additional data section of a response. This is now considered a bad idea and BIND 9 never does it.

Fixed in [1003].

comment:7 Changed 7 years ago by denis

  • Status changed from closed to reopened
  • Resolution fixed deleted

Je proposes qu'on utilise la modifications de O.H. (cfr http://alternc.org/marchives/dev/2006-March/002151.html) qui permet (si j'ai bien tout compris) à la fois de fermer le serveur DNS récursif ouvert par rapport à l'extérieur et de le rendre utilisable en local.

auth-nxdomain no; # conform to RFC1035

allow-query { "internal"; }; allow-transfer { "allslaves"; };

+ allow-recursion { "internal"; "allslaves"; };

comment:8 Changed 7 years ago by anarcat

  • Status changed from reopened to closed
  • Resolution set to fixed

non, il ne faut pas mélanger les serveurs récursifs et non-récursifs:

 http://cr.yp.to/djbdns/separation.html

Si vous voulez faire cette erreur, /etc/alternc/templates et pour vous. :)

comment:9 Changed 7 years ago by anonymous

  • Type set to defect

comment:10 Changed 6 years ago by nahuel

  • Status changed from reopened to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.