From 512fab8ec36249d0d70060440787fe261a6351cb Mon Sep 17 00:00:00 2001 From: Bruno Fontes Date: Fri, 14 Jun 2019 02:38:11 -0300 Subject: [PATCH] DNS Server: Including scripts to update RootHints monthly --- Services/updateRootHints.service | 6 ++++++ Services/updateRootHints.timer | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100644 Services/updateRootHints.service create mode 100644 Services/updateRootHints.timer diff --git a/Services/updateRootHints.service b/Services/updateRootHints.service new file mode 100644 index 0000000..10f0902 --- /dev/null +++ b/Services/updateRootHints.service @@ -0,0 +1,6 @@ +[Unit] +Description=Run update DNS root hints montly + +[Service] +Type=oneshot +ExecStart = /bin/bash /home/bruno/dns_update_rootHints.sh diff --git a/Services/updateRootHints.timer b/Services/updateRootHints.timer new file mode 100644 index 0000000..d98bb75 --- /dev/null +++ b/Services/updateRootHints.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Run update DNS root hints montly + +[Timer] +OnCalendar=monthly +Persistent=true + +[Install] +WantedBy=timers.target