[knot-dns-users] DDNS with python

Ulrich Wisser ulrich at wisser.se
Tue Oct 6 11:35:55 CEST 2015


Thank you Dan!
The name change for the key did the trick.
/Ulrich

Daniel Salzman <daniel.salzman at nic.cz> schrieb am Di., 6. Okt. 2015 um
11:09 Uhr:

> Hi Ulrich,
>
> It seems there is a specific problem with the dname compression in the
> TSIG processing.
> Compression is the difference between knsupdate and the Python script. As
> a workaround, you
> could try to set a different key name.
>
>
> Dan
>
> On 10/05/2015 09:29 PM, Ulrich Wisser wrote:
>
> Hi!
>
> In the last few days I have tried a new service for DDNS, nsupdate.info.
> I have some problems with the service and I have been able to reproduce
> the problem in a small sample script.
> The attached script does update my bind9 instance but reports SERVFAIL for
> Knot.
> Unfortunately I still have not been able to get Knot to write more
> extensive log entries.
>
> The script uses the Python dns library from Nominum.
>
> This is the output of the script (first update to bind then to knot)
>
> $ python example.py
> performing add for name ddns.example.com and origin example.com with
> rdtype A and ipaddr 2.3.4.5
> performing add for name ddns.example.com and origin example.com with
> rdtype A and ipaddr 2.3.4.5
> DNS error [SERVFAIL] performing add for name ddns.example.com and origin
> example.com with rdtype A and ipaddr 2.3.4.5
>
>
> Knot didn't log anything at all. (Any hints for that config would be
> welcome.) Bind did log the following
>
> Oct  5 21:07:49 localhost named[23792]: client beef::cafe#59322/key
> example.com: updating zone 'example.com/IN': adding an RR at '
> ddns.example.com.' A
>
> Some error in the script? Could someone point me to a working script?
> Any hints are welcome!
>
> Kind regards from Stockholm
>
> Ulrich
>
>
> --
> Ulrich Wisser
> ulrich at wisser.se
>
>
> _______________________________________________
> knot-dns-users mailing listknot-dns-users at lists.nic.czhttps://lists.nic.cz/cgi-bin/mailman/listinfo/knot-dns-users
>
> _______________________________________________
> knot-dns-users mailing list
> knot-dns-users at lists.nic.cz
> https://lists.nic.cz/cgi-bin/mailman/listinfo/knot-dns-users
>
-- 
Ulrich Wisser
ulrich at wisser.se
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nic.cz/pipermail/knot-dns-users/attachments/20151006/b7279129/attachment.html>


More information about the knot-dns-users mailing list