diff --git a/bureau/class/m_bind.php b/bureau/class/m_bind.php index 5b328703..12369ef9 100644 --- a/bureau/class/m_bind.php +++ b/bureau/class/m_bind.php @@ -227,7 +227,7 @@ class m_bind { ORDER BY ENTRY ;"); $t=""; while ($db->next_record()) { - $t.= $db->f('entry')."\n"; + $t.= $db->f('ENTRY')."\n"; } return $t; } diff --git a/etc/alternc/templates/bind/templates/named.template b/etc/alternc/templates/bind/templates/named.template index 9c7f7cff..13ed7fb7 100644 --- a/etc/alternc/templates/bind/templates/named.template +++ b/etc/alternc/templates/bind/templates/named.template @@ -1 +1 @@ -zone "@@DOMAINE@@" { type master; file "@@ZONE_FILE@@"; allow-query { any; }; }; +zone "@@DOMAIN@@" { type master; file "@@ZONE_FILE@@"; allow-query { any; }; };