Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Force resigning with CoreDNS
# Force resigning
$ rm /var/lib/coredns/db.miek.nl.signed
[ERROR] plugin/file: Failed to open zone "miek.nl." in "/var/lib/coredns/db.miek.nl.signed": open /var/lib/coredns/db.miek.nl.signed: no such file or directory
$ kill -SIGUSR1 $(pidof coredns)
[INFO] SIGUSR1: Reloading
[INFO] Reloading
[WARNING] plugin/file: Failed to open "open /var/lib/coredns/db.miek.nl.signed: no such file or directory": trying again in 1m0s
[INFO] Reloading complete
[INFO] plugin/sign: Successfully signed zone "miek.nl." in "/var/lib/coredns/db.miek.nl.signed" with key tags "33694" and 1564822775 SOA serial, elapsed 211.445314ms, next: 2019-08-03T13:59:35.150Z
[INFO] plugin/file: Successfully reloaded zone "miek.nl." in "/var/lib/coredns/db.miek.nl.signed" with serial 1564822775
[INFO] plugin/file: Sent notify for zone "miek.nl." to "37.97.149.87:53"
[INFO] plugin/file: Sent notify for zone "miek.nl." to "185.49.140.62:53"
[INFO] plugin/file: Outgoing transfer of 56 records of zone miek.nl. to 185.49.140.62 started with 1564822775 SOA serial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.