diff --git a/nsupdate/main/views.py b/nsupdate/main/views.py index 6c8cd78..30b71b3 100644 --- a/nsupdate/main/views.py +++ b/nsupdate/main/views.py @@ -198,6 +198,8 @@ class OverviewView(CreateView): success, level, msg = False, messages.ERROR, 'Timeout - communicating to name server failed.' except dnstools.NameServerNotAvailable: success, level, msg = False, messages.ERROR, 'Name server unavailable.' + except dnstools.DnsUpdateError as e: + success, level, msg = False, messages.ERROR, 'DNS update error [%s].' % str(e) except Domain.DoesNotExist: # should not happen: POST data had invalid (base)domain success, level, msg = False, messages.ERROR, 'Base domain does not exist.'