File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -624,7 +624,7 @@ public function restore() {
624624 }
625625 $ data ->rrsets [] = $ recordset ;
626626 }
627- $ data ->soa_edit_api = isset ($ config ['pdns ' ]['soa_edit_api ' ]) ? $ config ['pdns ' ]['soa_edit_api ' ] : 'INCEPTION-INCREMENT ' ;
627+ $ data ->soa_edit_api = isset ($ config ['powerdns ' ]['soa_edit_api ' ]) ? $ config ['powerdns ' ]['soa_edit_api ' ] : 'INCEPTION-INCREMENT ' ;
628628 $ data ->account = $ this ->account ;
629629 $ data ->dnssec = (bool )$ this ->dnssec ;
630630 $ remaining_rrsets = array_slice ($ data ->rrsets , $ initial_limit );
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ public function create_zone($zone) {
100100 }
101101 $ data ->rrsets [] = $ recordset ;
102102 }
103- $ data ->soa_edit_api = isset ($ config ['pdns ' ]['soa_edit_api ' ]) ? $ config ['pdns ' ]['soa_edit_api ' ] : 'INCEPTION-INCREMENT ' ;
103+ $ data ->soa_edit_api = isset ($ config ['powerdns ' ]['soa_edit_api ' ]) ? $ config ['powerdns ' ]['soa_edit_api ' ] : 'INCEPTION-INCREMENT ' ;
104104 $ data ->account = $ zone ->account ;
105105 $ data ->dnssec = (bool )$ zone ->dnssec ;
106106 $ response = $ this ->powerdns ->post ('zones ' , $ data );
You can’t perform that action at this time.
0 commit comments