Accueil > Du km au texte > informatique > Alternc > Regenerer les zones DNS avec alternc
Regenerer les zones DNS avec alternc
jeudi 3 janvier 2008, par
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 ;
Puis bien sur relancer bind9
Pour vérifier que tout va bien (http://forum.hardware.fr/hfr/OSAlternatifs/debian-bind-sujet_47692_1.htm)
- 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
