17 lines
663 B
SYSTEMD
17 lines
663 B
SYSTEMD
|
[Unit]
|
||
|
Description=PowerDNS Remote/HTTP backend example
|
||
|
Wants=network-online.target
|
||
|
After=network-online.target time-sync.target
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/usr/local/sbin/powerdns-remote-http-example -listen 127.0.0.1:8086 -ttl-fuzz -resolver-endpoint 127.0.0.1:53 -resolver-proto tcp -resolver-timeout 2.9s -cidr-ipv4 198.18.0.0/16 -cidr-ipv6 2001:db8:1234:5678::/80 -nft-table uniwall -nft-map-ipv4 vmap4 -nft-map-ipv6 vmap6 -soa-ns example.org. -soa-mbox dns.example.org.
|
||
|
SyslogIdentifier=powerdns-remote-http-example
|
||
|
Type=exec
|
||
|
Restart=on-failure
|
||
|
RestartSec=3
|
||
|
StartLimitInterval=0
|
||
|
RuntimeDirectory=powerdns-remote-http-example
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|