diff --git a/.gitattributes b/.gitattributes
index 8d92b127..8bbabb15 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -16,6 +16,7 @@ bureau/admin/adm_add.php -text
bureau/admin/adm_deactivate.php -text
bureau/admin/adm_defquotas.php -text
bureau/admin/adm_del.php -text
+bureau/admin/adm_dnsweberror.php -text
bureau/admin/adm_doadd.php -text
bureau/admin/adm_dodefquotas.php -text
bureau/admin/adm_dodel.php -text
diff --git a/bureau/admin/adm_dnsweberror.php b/bureau/admin/adm_dnsweberror.php
new file mode 100644
index 00000000..bee0b9bc
--- /dev/null
+++ b/bureau/admin/adm_dnsweberror.php
@@ -0,0 +1,109 @@
+enabled) {
+ __("This page is restricted to authorized staff");
+ exit();
+}
+
+include_once("head.php");
+
+?>
+
+
+
+$error";
+ }
+
+?>
+
+
+
+
+
+ compte |
+ login |
+ domaine |
+ fqdn |
+ valeur |
+ description |
+ web_result |
+
+
+query("select sd.compte, m.login, sd.domaine, if(length(sub)>0,concat_ws('.',sd.sub,sd.domaine),sd.domaine) as fqdn, sd.valeur, dt.description, sd.web_result from sub_domaines sd,membres m, domaines_type dt where sd.web_action='OK' and length(sd.web_result)<>0 and upper(dt.name)=upper(sd.type) order by sd.domaine, sd.sub, sd.valeur;");
+
+while($db->next_record()) {
+++$pair;
+print_r($d);
+?>
+
+ f('compte');?> |
+ f('login');?> |
+ f('domaine');?> |
+ f('fqdn');?> |
+ f('valeur');?> |
+ f('description');?> |
+ f('web_result');?> |
+
+
+
+
+
+
+
+
+ compte |
+ login |
+ domaine |
+ dns_result |
+
+
+query("select d.compte, m.login, d.domaine, d.dns_result from domaines d, membres m where d.dns_action='OK' and dns_result <> 0 and dns_result <> '' and m.uid = d.compte;");
+
+while($db->next_record()) {
+++$pair;
+print_r($d);
+?>
+
+ f('compte');?> |
+ f('login');?> |
+ f('domaine');?> |
+ f('dns_result');?> |
+
+
+
+
diff --git a/bureau/admin/adm_panel.php b/bureau/admin/adm_panel.php
index 640c3fdc..e6057ceb 100644
--- a/bureau/admin/adm_panel.php
+++ b/bureau/admin/adm_panel.php
@@ -52,6 +52,7 @@ include_once("head.php");
+
diff --git a/install/upgrades/1.0.sql b/install/upgrades/1.0.sql
index 40cec9c8..52a0052e 100644
--- a/install/upgrades/1.0.sql
+++ b/install/upgrades/1.0.sql
@@ -21,7 +21,7 @@ PRIMARY KEY ( `name` )
INSERT IGNORE INTO `domaines_type` (name, description, target, entry, compatibility, only_dns, need_dns) values
('local','Locally managed', 'DIRECTORY', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false),
('url','URL redirection', 'URL', '%SUB% IN A @@PUBLIC_IP@@','txt', true, true),
-('ip','IP redirection', 'IP', '%SUB% IN A %TARGET%','url,ip,ipv6,txt', true, true),
+('ip','IP redirection', 'IP', '%SUB% IN A %TARGET%','url,ip,ipv6,txt', false, true),
('webmail', 'Webmail access', 'NONE', '%SUB% IN A @@PUBLIC_IP@@', 'txt', false, false),
('ipv6','ipv6 address', 'IPV6', '%SUB% IN AAAA %TARGET%','ip,ipv6,webmail,txt',true, true),
('cname', 'cname entry', 'DOMAIN', '%SUB% CNAME %TARGET%', 'txt',true, true),