Exemple :
Ajouter un sous domaine
compte | domaine | sub | valeur | type | action |
2000 | azerttyu.net | zzzz | / | 0 | 0 |
Supprimer un sous domaine
compte | domaine | sub | valeur | type | action |
2000 | azerttyu.net | zzzz | / | 0 | 2 |
Mettre à jour un sous domaine
compte | domaine | sub | valeur | type | action |
2000 | azerttyu.net | zzzz | / | 0 | 1 |
INSERT INTO domaines_standby (compte,domaine,mx,gesdns,gesmx,action)
SELECT domaines.compte,domaines.domaine,domaines.mx,domaines.gesdns,domaines.gesmx,’0’
FROM domaines ;
/usr/lib/alternc/update_domains.sh
Puis bien sur relancer bind9
/etc/init.d/bind9 restart
Pour vérifier que tout va bien (http://forum.hardware.fr/hfr/OSAlternatifs/debian-bind-sujet_47692_1.htm)
grep named /var/log/syslog|tail
Oct 17 22:50:44 localhost named[21726]: zone broutille.org/IN: loaded serial 2007101700 Oct 17 22:50:44 localhost named[21726]: zone kapibara.org/IN: loaded serial 2007101700 Oct 17 22:50:44 localhost named[21726]: running Oct 17 22:50:44 localhost named[21726]: zone stl.azerttyu.net/IN: sending notifies (serial 2007101700) Oct 17 22:50:44 localhost named[21726]: zone kapibara.org/IN: sending notifies (serial 2007101700) Oct 17 22:50:44 localhost named[21726]: zone broutille.org/IN: sending notifies (serial 2007101700) Oct 17 22:50:44 localhost named[21726]: zone clipoclic.azerttyu.net/IN: sending notifies (serial 2007101700) Oct 17 22:50:44 localhost named[21726]: zone azerttyu.net/IN: sending notifies (serial 2007101700) Oct 17 22:50:44 localhost named[21726]: zone totzezo.net/IN: sending notifies (serial 2007101700) Oct 17 22:50:44 localhost named[21726]: zone totzezo.net/IN: sending notifies (serial 2007101700)
Et pour pousser le bouchon :
http://www.checkdns.net/quickcheck.aspx?domain=domain.com&detailed=1
http://www.dns.lu/en/EN-LUTestNoms.php
Dommage que cela ne marche pas : http://www.olympus-zone.net/page_1037_en_Blue.html