From 74df312505d81f22b3205409b682e41fa71a4838 Mon Sep 17 00:00:00 2001 From: Florian Schaal <florian@schaal-24.de> Date: Wed, 21 Jan 2015 12:37:16 +0100 Subject: [PATCH] set ttl > 0 for dkim-records --- interface/web/dns/dns_dkim_edit.php | 1 + 1 file changed, 1 insertion(+) mode change 100755 => 100644 interface/web/dns/dns_dkim_edit.php diff --git a/interface/web/dns/dns_dkim_edit.php b/interface/web/dns/dns_dkim_edit.php old mode 100755 new mode 100644 index eac7cb6883..1a01463b9f --- a/interface/web/dns/dns_dkim_edit.php +++ b/interface/web/dns/dns_dkim_edit.php @@ -108,6 +108,7 @@ class page_action extends tform_actions { if (!empty($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['ttl']=60; } // Update the serial number and timestamp of the RR record $soa = $app->db->queryOneRecord("SELECT serial FROM dns_rr WHERE id = ?", $this->id); -- GitLab