Files
netbox-plugin-dns-bridge/docs/install-systemd-service.md
Sven Luethi 5999db72f9 modified: README.md
deleted:    docs/architecture-overview.drawio
deleted:    docs/architecture-overview.svg
modified:   docs/install-systemd-service.md
new file:   docs/installation-guide.md
  Documentation cleanup

modified:   pyproject.toml
  change old provisioner link to bridge
2026-09-29 14:09:19 +02:00

37 lines
892 B
Markdown

# NetBox DNS transfer endpoint systemd service
1. Create a systemd unit file
```
cat <<EOF > /etc/systemd/system/netbox-dns-endpoint.service
[Unit]
Description=Netbox DNS transfer endpoint
Documentation=https://github.com/Suraxius/netbox-plugin-dns-bridge
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=netbox
Group=netbox
PIDFile=/var/tmp/netbox.pid
WorkingDirectory=/opt/netbox
ExecStart=/opt/netbox/venv/bin/python3 /opt/netbox/netbox/manage.py dns-transfer-endpoint --address 0.0.0.0 --port 5354
Restart=on-failure
RestartSec=30
PrivateTmp=true
[Install]
WantedBy=multi-user.target
EOF
```
2. Enable and start the service
```
systemctl enable netbox-dns-endpoint
systemctl start netbox-dns-endpoint
systemctl status netbox-dns-endpoint
```