mirror of
https://github.com/speatzle/nfsense.git
synced 2025-09-13 15:19:08 +00:00
Add DNS Server Backend
This commit is contained in:
parent
ccc7745099
commit
6635d9ed74
6 changed files with 204 additions and 0 deletions
15
internal/unbound/template/server.tmpl
Normal file
15
internal/unbound/template/server.tmpl
Normal file
|
@ -0,0 +1,15 @@
|
|||
server:
|
||||
|
||||
# Listen Interfaces
|
||||
{{- range $i, $server := .Service.NTPServers }}
|
||||
interface: {{ getInterfaceName $ $server.Interface }}
|
||||
{{- end }}
|
||||
|
||||
# Allowed Networks
|
||||
{{- range $i, $server := .Service.NTPServers }}
|
||||
access-control: {{ getInterfaceNetworkAddressCIDR $ $server.Interface }} allow
|
||||
{{- end }}
|
||||
|
||||
|
||||
remote-control:
|
||||
control-enable: yes
|
Loading…
Add table
Add a link
Reference in a new issue