Skip to content
Snippets Groups Projects
Commit 74df3125 authored by Florian Schaal's avatar Florian Schaal
Browse files

set ttl > 0 for dkim-records

parent f7580dde
No related branches found
No related tags found
No related merge requests found
...@@ -108,6 +108,7 @@ class page_action extends tform_actions { ...@@ -108,6 +108,7 @@ class page_action extends tform_actions {
if (!empty($this->dataRecord['data'])) { if (!empty($this->dataRecord['data'])) {
$this->dataRecord['data']='v=DKIM1; t=s; p='.$this->dataRecord['data']; $this->dataRecord['data']='v=DKIM1; t=s; p='.$this->dataRecord['data'];
$this->dataRecord['name']=$this->dataRecord['selector'].'._domainkey.'.$this->dataRecord['name']; $this->dataRecord['name']=$this->dataRecord['selector'].'._domainkey.'.$this->dataRecord['name'];
$this->dataRecord['ttl']=60;
} }
// Update the serial number and timestamp of the RR record // Update the serial number and timestamp of the RR record
$soa = $app->db->queryOneRecord("SELECT serial FROM dns_rr WHERE id = ?", $this->id); $soa = $app->db->queryOneRecord("SELECT serial FROM dns_rr WHERE id = ?", $this->id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment