Skip to content

Commit 74df312

Browse files
author
Florian Schaal
committed
set ttl > 0 for dkim-records
1 parent f7580dd commit 74df312

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interface/web/dns/dns_dkim_edit.php

100755100644
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ function onSubmit() {
108108
if (!empty($this->dataRecord['data'])) {
109109
$this->dataRecord['data']='v=DKIM1; t=s; p='.$this->dataRecord['data'];
110110
$this->dataRecord['name']=$this->dataRecord['selector'].'._domainkey.'.$this->dataRecord['name'];
111+
$this->dataRecord['ttl']=60;
111112
}
112113
// Update the serial number and timestamp of the RR record
113114
$soa = $app->db->queryOneRecord("SELECT serial FROM dns_rr WHERE id = ?", $this->id);

0 commit comments

Comments
 (0)