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/OSAlte...)


grep named /var/log/syslog|tail
 
  1.  
  2. Oct 17 22:50:44 localhost named[21726]: zone broutille.org/IN: loaded serial 2007101700
  3. Oct 17 22:50:44 localhost named[21726]: zone kapibara.org/IN: loaded serial 2007101700
  4. Oct 17 22:50:44 localhost named[21726]: running
  5. Oct 17 22:50:44 localhost named[21726]: zone stl.azerttyu.net/IN: sending notifies (serial 2007101700)
  6. Oct 17 22:50:44 localhost named[21726]: zone kapibara.org/IN: sending notifies (serial 2007101700)
  7. Oct 17 22:50:44 localhost named[21726]: zone broutille.org/IN: sending notifies (serial 2007101700)
  8. Oct 17 22:50:44 localhost named[21726]: zone clipoclic.azerttyu.net/IN: sending notifies (serial 2007101700)
  9. Oct 17 22:50:44 localhost named[21726]: zone azerttyu.net/IN: sending notifies (serial 2007101700)
  10. Oct 17 22:50:44 localhost named[21726]: zone webelys.fr/IN: sending notifies (serial 2007101700)
  11. Oct 17 22:50:44 localhost named[21726]: zone webelys.net/IN: sending notifies (serial 2007101700)
  12.  

Et pour pousser le bouchon : http://www.checkdns.net/quickcheck.... http://www.dns.lu/en/EN-LUTestNoms.php

Dommage que cela ne marche pas : http://www.olympus-zone.net/page_10...

http://osdir.com/ml/web.alternc.use...