sudo useradd -d /srv/sync-dns -m sync-dns[Name]
address = 10.0.0.1
username = sync-dns
password = p@ssw0rd
include = Area1,Area2
[Name2]
...; will be include automatically for all
[common]
domain = 10.0.0.2
...
[Area1]
...
; will be include automatically for "Name" and override if exists at other areas
[Name]
...[Unit]
Description=Sync MikroTik DNS records
[Service]
Type=oneshot
User=sync-dns
WorkingDirectory=~
ExecStart=/usr/bin/java -jar /srv/sync-dns/sync.jar[Unit]
Description=Daily sync MikroTik DNS records
[Timer]
OnCalendar=*-*-* 2:00:00
Persistent=true
[Install]
WantedBy=timers.targetsudo systemctl enable sync-dns.timer
sudo systemctl start sync-dns.timer