Show correct records for forward/reverse zones
This commit is contained in:
parent
dbd14739e0
commit
d28dc14dca
1 changed files with 1 additions and 4 deletions
|
|
@ -127,10 +127,7 @@ def domain(domain_name):
|
|||
# Unsupported version
|
||||
abort(500)
|
||||
|
||||
if not re.search(r'ip6\.arpa|in-addr\.arpa$', domain_name):
|
||||
editable_records = forward_records_allow_to_edit
|
||||
else:
|
||||
editable_records = reverse_records_allow_to_edit
|
||||
editable_records = records_allow_to_edit
|
||||
|
||||
return render_template('domain.html',
|
||||
domain=domain,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue