All the versions of this article: [English] [français]
Le 16/4/2007, 00:00 named zone sonntag.eu.org: refused notify from non-master
The trick & tips of the moment : we recently upgrade the secondary dns server of Lautre.Net. We are now using bind 9.3.
We has the following error message for all the hosted domains :
Apr 16 00:34:38 ns2 named[4586]: client 212.85.137.31#1293: received notify for zone 'sonntag.eu.org'
Apr 16 00:34:38 ns2 named[4586]: zone taous.net/IN: refused notify from non-master: 212.85.137.31#1293The server ip is 212.85.137.31. The problem is that when you start bind, it send a "notfiy" message to its own daemon to check if all the hosted zones are up-to-date. But since there is no authorization, it denies himself this request !
This can be solve easily by adding an explicit authorization in bind options (usually in named.conf ) as follow :
(since we are on debian etch, the options are in /etc/bind/named.conf.options)
options {
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
allow-query { any; }; // This is the default
recursion no; // Do not provide recursive service
<font color="red">
// We add a manual authorization for bind own ip
allow-notify { 212.85.137.31; };
</font>
}Then, restart bind with /etc/init.d/bind9 restart and you’ll see the good news :
Apr 16 00:43:13 ns2 named[4973]: zone sonntag.eu.org/IN: sending notifies (serial 2004110621)
Apr 16 00:43:13 ns2 named[4973]: client 212.85.137.31#1295: received notify for zone 'sonntag.eu.org'
Apr 16 00:43:13 ns2 named[4973]: zone sonntag.eu.org/IN: notify from 212.85.137.31#1295: zone is up to dateBind sent a notify message to himself, received it and sent a SOA request to the master to check the zone serial number, to know if it has a up-to-date zone file...
Tags
[Geekland] - [Logiciels Libres] -
Who's there?
Welcome on Benjamin Sonntag's blog, web entrepreneur, Linux expert and free-software-savvy half-geek.
Here you will find geek tuff, tricks and tips and friendly ads, personal histories and a bunch of politics ...
On the same topic ...
- le 25 January 2006AlternC 0.9.3.1 is out !
- le 25 January 2006Postgrey crashed, Database lost ?
- le 29 December 200926c3. Day 2 : A Microntroller-based led panel from Jimmie
- le 30 December 200926c3. Day 4 : The LOL Shield, last post : SPACE INVADER !
- le 12 MayNice style for forced form fields
- le 20 JulyArduino driver for Sure0832 led panel
In the Octopuce boat ...
- 27 August – SFTP pour Openssh : comment logguer qui a fait quoi ?
- 30 July – Octopuce SARL recherche un développeur PHP/MySQL
- 27 July – IPv6 à Octopuce, une réalité
- 6 February – DManager : Nouvelle version du porte document en ligne
- 14 January – Varnish & Failover, exemple de VCL de répartition de charge intelligente ...
La Quadrature du Net
- 7 September – LOPPSI/filtrage : Le populisme sécuritaire éclabousse le Net
- 6 September – Hadopi ? Même pas peur !
- 1 September – Fuite ACTA : Texte consolidé 2010 07 13 (négociations de Lucerne)
- 18 August – Santé, Internet : la comédie de l'ACTA a assez duré
- 15 August – L'intégralité du rapport de NKM sur la "neutralité" des réseaux
Old stuff ...
- 16 avril 2007 – Jewish-Memories, Le fonds de cartes postales juives en ligne
- 16 février 2006 – Les Gapençais daubent sur leurs voisins ?
- 6 January 2010 – All games for Arduino & Lol-Shield : Pong, Shoot them up, Tetris
- 4 mai 2010 – Joli style pour formulaire forcé
- 15 août 2007 – Réunion Sysadmin parisienne au Pouchla





