Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions etc/hnsd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
POOL_SIZE=--pool-size=1
RS_HOST=--rs-host=127.0.0.1:53
UNBOUND=--rs-config=/etc/unbound/unbound.conf
14 changes: 14 additions & 0 deletions etc/hnsd.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[Unit]
Description=handshake DNS resolver
Wants=network-online.target
After=network-online.target

[Service]
EnvironmentFile=/etc/hnsd.conf
ExecStart=/usr/bin/hnsd $POOL_SIZE $RS_HOST $UNBOUND $PEER
Comment thread
tuxcanfly marked this conversation as resolved.
Outdated
AmbientCapabilities=CAP_NET_BIND_SERVICE
Restart=always
RestartSec=3

[Install]
WantedBy=default.target