Skip to content

Commit

Permalink
Merge pull request #187 from T0biii/patch-4
Browse files Browse the repository at this point in the history
increase dnscrypt cert by 5 years
  • Loading branch information
DasSkelett authored Feb 13, 2025
2 parents afa83d9 + eaaa9ce commit 7d5f39b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsdist/dnsdist.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ end
if not file_exists("/run/dnsdist/resolver.cert") then
-- this should be recreated regularly => store in /run/dnsdist which gets cleaned at every restart
infolog("Generate new DNSCrypt keys.")
generateDNSCryptCertificate("/var/lib/dnsdist/providerPrivate.key", "/run/dnsdist/resolver.cert", "/run/dnsdist/resolver.key", os.date('%Y%m%d', os.time()), os.time(os.date("!*t")), os.time({year=2025, month=2, day=1, hour=00, minute=00}))
generateDNSCryptCertificate("/var/lib/dnsdist/providerPrivate.key", "/run/dnsdist/resolver.cert", "/run/dnsdist/resolver.key", os.date('%Y%m%d', os.time()), os.time(os.date("!*t")), os.time({year=2030, month=2, day=1, hour=00, minute=00}))
end

-- listen for DNSCrypt
Expand Down

0 comments on commit 7d5f39b

Please sign in to comment.