deleting records works again. without tsig key.
This commit is contained in:
parent
d2a6b38a2b
commit
5c453e9a8d
|
@ -90,10 +90,11 @@ def add_record(form_data):
|
||||||
return response
|
return response
|
||||||
|
|
||||||
def delete_record(form_data, rr_items):
|
def delete_record(form_data, rr_items):
|
||||||
try:
|
"""Delete a list of DNS records passed as strings in rr_items."""
|
||||||
|
if ("key_name" in form_data and form_data["key_name"]):
|
||||||
keyring = create_keyring(form_data["key_name"])
|
keyring = create_keyring(form_data["key_name"])
|
||||||
except Exception, err:
|
else:
|
||||||
raise Exception("Error creating keyring in delete_record: %s" % err)
|
keyring = None
|
||||||
|
|
||||||
dns_server = form_data["dns_server"]
|
dns_server = form_data["dns_server"]
|
||||||
delete_response = []
|
delete_response = []
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
{% extends "base.htm" %}
|
{% extends "base.htm" %}
|
||||||
|
|
||||||
|
{% block pageheader %}
|
||||||
|
Home
|
||||||
|
{% endblock pageheader %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
|
||||||
TODO(jforman): Build some sort of dashboard here
|
TODO(jforman): Build some sort of dashboard here
|
||||||
|
|
Loading…
Reference in New Issue