489 Commits

Author SHA1 Message Date
Thomas Waldmann
9f97cb2769 fix SameIpError in host add form processing, fixes #267 2016-08-13 23:38:43 +02:00
Pascal Mages
9fb3703827 Update pfSense tab to get IP from Result Match
added %IP% for pfSense result match to properly catch the cached IP address. Without pfSense reports 0.0.0.0 in the webgui.
2016-05-23 14:49:08 +02:00
Fabian Weisshaar
f987fae7e0 fixes #246, #249, #253. except DnsUpdateError and use random IP in check_domain().
The delete() was removed because after an add() the nameserver need time to process the nsupdate query. This leads to an NXDOMAIN response on current ip check in delete() thus the delete() call fails.
2016-01-26 14:33:18 +01:00
Fabian Weisshaar
4717da5ae6 optimize database query on overview page 2015-12-30 11:51:39 +01:00
Thomas Waldmann
58f7237654 add migration for f5107138908d728da043faf77f72dee241338ce5 2015-12-29 17:24:37 +01:00
TW
ab466a57b2 Merge pull request #241 from hensing/fix-192
closes #192: sort hosts and domains by name
2015-12-29 14:13:53 +01:00
Henning dickten
f510713890 closes #192: sort hosts and domains by name 2015-12-29 14:09:52 +01:00
TW
c90ebe0355 Merge pull request #239 from elnappo/fix-213
fixes #213
2015-12-29 13:53:42 +01:00
Fabian Weisshaar
cd2fde484a fixes #168, test updates when a domain is set to available 2015-12-29 13:30:58 +01:00
Fabian Weisshaar
b81c8919ef fixes #213, check if nameserver update secret is a valid base64 string 2015-12-29 13:12:22 +01:00
Thomas Waldmann
e4c6b62d3b Merge branch 'fix-221' 2015-12-29 12:53:32 +01:00
TW
6ea6ac7fc8 Merge pull request #234 from hensing/django18
update django 1.7 to >=1.8.1 LTS
2015-12-28 17:42:17 +01:00
TW
c4a93218a4 Merge pull request #235 from nsupdate-info/ipfire-help
add ipfire help, fixes #209
2015-12-28 17:39:19 +01:00
Henning dickten
96fec52cf3 update django 1.7 to >=1.8.1 LTS 2015-12-28 17:09:01 +01:00
Thomas Waldmann
063aa675d9 add ipfire help, fixes #209 2015-12-28 16:31:03 +01:00
Thomas Waldmann
4232262cb8 add migration for previous changeset 2015-12-28 13:45:35 +01:00
Thomas Waldmann
ee838aa2da fix #221 2015-12-28 13:35:30 +01:00
Thomas Waldmann
eacdd9892e fix #211 2015-12-28 12:50:38 +01:00
Fabian Weisshaar
f65dfa330c fixes #222 2015-12-27 17:53:41 +01:00
Thomas Waldmann
95e9cabf65 avoid that invalid domains get added, fixes #205 2015-06-04 10:49:04 +02:00
Thomas Waldmann
b6528b748d add migration for prev. changeset 2015-04-25 17:42:27 +02:00
Thomas Waldmann
c8d87270b6 do not set A or AAAA record if IFID field is blank
in fact, even delete the A or AAAA record if the field is blank and an update is received.

sometimes it makes sense to have only ipv6 records in DNS if you only have 1 public ipv4.
then you can reach your devices without getting (maybe wrong or not port-forwarded) v4 addresses on lookup.
2015-04-25 17:33:02 +02:00
Thomas Waldmann
50f8d72408 adjust timeout / retry timing
resolver timeout 5 -> 10s (so it has more chances to query both nameservers alternatingly)

unavailable retry 300 -> 120s (so in case of a temporary problem, the outage is shorter)
2015-01-26 22:18:01 +01:00
Thomas Waldmann
b562c0fd7e add the option to prefer the primary nameserver in query_ns, use it for domain checker, 2015-01-26 22:04:06 +01:00
Thomas Waldmann
a0dee62a5f revert 8994be6ca1c44f5c9cee5ac5a2c24d8e1ac822c9ee5ac5a2c24d8e1ac822c9, fixes #198
list_display_links just links the given column to the record represented by the whole line,
NOT to the record (foreign key) represented by that individual column.
2015-01-26 20:56:40 +01:00
Thomas Waldmann
0c95fbacaf catch EOFError exception, add note about readable exception messages PR, fixes #197 2015-01-26 18:07:43 +01:00
Thomas Waldmann
0d8f6cc82e catch socket.error (e.g. "connection refused"), fixes #195 2015-01-09 21:46:30 +01:00
Thomas Waldmann
01f426deb9 fix code to succeed with tests for related host views 2015-01-02 21:21:37 +01:00
elnappo
a0c0ba467c fixed missing url parm for related_host_overview 2015-01-02 14:25:06 +01:00
elnappo
2963e60aa2 add more test for main views (mostly 404) 2015-01-02 14:18:49 +01:00
elnappo
a5f0a00e79 add some tests 2015-01-02 13:19:51 +01:00
elnappo
8994be6ca1 minor admin interface improvments 2014-12-28 15:53:22 +01:00
elnappo
419704618d replace __unicode__() with text_type for python3 2014-12-28 14:52:17 +01:00
elnappo
37bb496e3b dont use unicode_literals 2014-12-28 14:19:24 +01:00
elnappo
1897c9a913 replace PermissionDenied with Http404 2014-12-28 14:07:06 +01:00
elnappo
ca34ca3e0d
remove all __unicode__() for python3 compatibility 2014-12-06 12:35:20 +01:00
elnappo
75fc8627d7
add python_2_unicode_compatible in models.py #189 2014-12-05 20:33:15 +01:00
elnappo
cbab1a5d17
only show "(unkown)" in overview when hosts has this record, add some trans tags 2014-12-05 19:38:26 +01:00
Thomas Waldmann
0db2e60263 fix resolving to not add the service server's domain, but just "." 2014-11-27 20:03:34 +01:00
Thomas Waldmann
6261b64b72 catch more query_ns exceptions. try update/delete even if query_ns failed.
it could be maybe the secondary DNS that failed for query_ns, so we can still try talking to the primary.
2014-11-27 10:47:34 +01:00
elnappo
1de8a9aaf6 Merge branch 'master' of github.com:nsupdate-info/nsupdate.info 2014-11-26 10:39:26 +01:00
Thomas Waldmann
032dd502e6 fix misleading exception handler for query_ns 2014-11-25 22:04:34 +01:00
elnappo
f35d16c406
edit form is now a horizontal form 2014-11-25 21:30:13 +01:00
Thomas Waldmann
13cf70baf6 implement host staleness level, management script to check whether host IP is being updated 2014-11-21 11:00:59 +01:00
Thomas Waldmann
223710c4c7 add missing migration (nameserver2_ip, tls_update_ipv6 help text changes) 2014-11-21 10:56:23 +01:00
Thomas Waldmann
73d69e7502 fix method signature of get_context_data, fixes #180 2014-11-17 22:09:39 +01:00
Thomas Waldmann
2377cdbd85 merged changes from rel0.10 branch 2014-11-17 21:51:00 +01:00
Thomas Waldmann
015ad71945 fix 2 translatable strings 2014-11-17 21:37:03 +01:00
Thomas Waldmann
c432e24c0d add a managment command "domains" to check the domains, notify owner of domain, update admin docs
if a nameserver is not reachable or does not answer queries for the domain, the domain is flagged as not available (and also as not public).

also added catching of PeerBadKey exception.
2014-11-16 23:05:35 +01:00
Thomas Waldmann
b8e37e904d register api auth errors/success in the host record, display auth success/failure in host view, partially fixes #176 2014-11-16 00:04:27 +01:00