Commit ba63092b authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch '6224-missing-loc-functions' into 'develop'

Add api functions for DNS type LOC, #6224

Closes #6224

See merge request !1519
parents ef73cc67 d66af1e3
Pipeline #9432 passed with stage
in 18 seconds
......@@ -513,6 +513,29 @@ class remoting_dns extends remoting {
return $this->dns_rr_delete($session_id, $primary_id, $update_serial, 'HINFO');
// ----------------------------------------------------------------------------------------------------------------
//* Get record details
public function dns_loc_get($session_id, $primary_id) {
return $this->dns_rr_get($session_id, $primary_id, 'LOC');
//* Add a record
public function dns_loc_add($session_id, $client_id, $params, $update_serial=false) {
return $this->dns_rr_add($session_id, $client_id, $params, $update_serial, 'LOC');
//* Update a record
public function dns_loc_update($session_id, $client_id, $primary_id, $params, $update_serial=false) {
return $this->dns_rr_update($session_id, $client_id, $primary_id, $params, $update_serial, 'LOC');
//* Delete a record
public function dns_loc_delete($session_id, $primary_id, $update_serial=false) {
return $this->dns_rr_delete($session_id, $primary_id, $update_serial, 'LOC');
// ----------------------------------------------------------------------------------------------------------------
//* Get record details
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment