Skip to content

Commit eb3c7ba

Browse files
committed
add dns_tlsa_* remote api functions. fixes #4360
1 parent 8e0dbf8 commit eb3c7ba

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

interface/lib/classes/remote.d/dns.inc.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,28 @@ public function dns_srv_delete($session_id, $primary_id, $update_serial=false) {
604604

605605
// ----------------------------------------------------------------------------------------------------------------
606606

607+
//* Get record details
608+
public function dns_tlsa_get($session_id, $primary_id) {
609+
return $this->dns_rr_get($session_id, $primary_id, 'TLSA');
610+
}
611+
612+
//* Add a record
613+
public function dns_tlsa_add($session_id, $client_id, $params, $update_serial=false) {
614+
return $this->dns_rr_add($session_id, $client_id, $params, $update_serial, 'TLSA');
615+
}
616+
617+
//* Update a record
618+
public function dns_tlsa_update($session_id, $client_id, $primary_id, $params, $update_serial=false) {
619+
return $this->dns_rr_update($session_id, $client_id, $primary_id, $params, $update_serial, 'TLSA');
620+
}
621+
622+
//* Delete a record
623+
public function dns_tlsa_delete($session_id, $primary_id, $update_serial=false) {
624+
return $this->dns_rr_delete($session_id, $primary_id, $update_serial, 'TLSA');
625+
}
626+
627+
// ----------------------------------------------------------------------------------------------------------------
628+
607629
//* Get record details
608630
public function dns_txt_get($session_id, $primary_id) {
609631
return $this->dns_rr_get($session_id, $primary_id, 'TXT');

0 commit comments

Comments
 (0)