Regenerer les zones DNS avec alternc
Par km, jeudi 3 janvier 2008 à 03:15 :: Alternc ::#2 ::rss
Lorsque nous avons cassé les zones DNS sur le serveur, il faut mettre les mains dans le camboui pour regenerer tout ça.
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
Pour vérifier que tout va bien (http://forum.hardware.fr/hfr/OSAlte...)
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 webelys.fr/IN: sending notifies (serial 2007101700)
- Oct 17 22:50:44 localhost named[21726]: zone webelys.net/IN: sending notifies (serial 2007101700)
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...
Commentaires
Aucun commentaireAjouter un commentaire