21 Commits

Author SHA1 Message Date
Thomas Waldmann
7176599245 dnstools: add/delete/update pass-through origin now 2013-10-08 15:39:45 +02:00
Thomas Waldmann
ee4ca24f95 dnstools: fixed docstring 2013-10-08 15:20:08 +02:00
Thomas Waldmann
2dfc9707ca dnstools: update docstrings about ValueError exceptions 2013-10-03 20:47:25 +02:00
Thomas Waldmann
2982bd6e30 new check_ip() validates if a str is a ip addr and also determines address family, deduplicate code 2013-10-03 20:39:55 +02:00
Thomas Waldmann
1924888b37 reorder imports: stdlib, other libs, django, nsupdate stuff (views, etc.) 2013-10-03 19:26:39 +02:00
Thomas Waldmann
a2afc6a253 add missing param to docstring 2013-10-03 17:59:55 +02:00
Thomas Waldmann
71e937c0da use search list with basedomain from settings 2013-09-30 01:58:38 +02:00
Thomas Waldmann
02099fe810 prepare using multipe nameservers / basedomains
currently lookup is from a dict with just the values from settings.
2013-09-30 00:52:23 +02:00
Thomas Waldmann
074233430c dnstools: implement additional functions: add and delete, with tests. 2013-09-29 17:21:22 +02:00
Thomas Waldmann
726a5696bd added docstring 2013-09-29 02:00:15 +02:00
Thomas Waldmann
ac4860f54a pep8 fixes 2013-09-29 01:23:27 +02:00
Thomas Waldmann
d558e2ece2 store update_secret as salted sha1 (use crypto code from django), fix bug: we also need to catch NoAnswer, not just NXDOMAIN.
NoAnswer == there is a record, but not of the type (A or AAAA) we requested.
NXDOMAIN == there is no record at all.
2013-09-29 00:34:47 +02:00
Thomas Waldmann
a769b4d8ed cleanup settings access 2013-09-28 22:04:52 +02:00
Thomas Waldmann
add5e6a379 implemented update api (still without checking the DB), misc. cleanups 2013-09-28 20:39:33 +02:00
Thomas Waldmann
d71b3b8346 fix typo 2013-09-28 17:17:12 +02:00
Thomas Waldmann
be3a124fbc implement intelligent updater (only sends ns update if IP really changed) 2013-09-28 17:05:27 +02:00
Fabian Faessler
dcd0be9e46 Merge branch 'master' of github.com:asmaps/nsupdate.info 2013-09-28 15:44:21 +02:00
Fabian Faessler
8f2209286d moved the dns settings info the settings.py 2013-09-28 15:44:09 +02:00
Thomas Waldmann
3af80a631d docstrings: some cleanup 2013-09-28 15:36:27 +02:00
Thomas Waldmann
f4172a306a dns: implement updating the master server 2013-09-28 15:29:16 +02:00
Thomas Waldmann
d71122aa1c dns: implement querying directly the master server 2013-09-28 13:47:49 +02:00