mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-27 05:25:40 +00:00
Fix SOE-EDIT-API value in reverse-domain creation
This commit is contained in:
parent
7d72cf6088
commit
c81deb0044
@ -609,6 +609,7 @@ class Domain(db.Model):
|
||||
domain_id = self.get_id_by_name(domain_reverse_name)
|
||||
if None == domain_id and app.config['AUTOMATIC_REVERSE_PTR']:
|
||||
result = self.add(domain_reverse_name, 'Master', 'INCEPTION_INCREMENT', '', '')
|
||||
result = self.add(domain_reverse_name, 'Master', 'INCEPTION-INCREMENT', '', '')
|
||||
self.update()
|
||||
if result['status'] == 'ok':
|
||||
history = History(msg='Add reverse lookup domain %s' % domain_reverse_name, detail=str({'domain_type': 'Master', 'domain_master_ips': ''}), created_by='System')
|
||||
|
Loading…
Reference in New Issue
Block a user