unbound/conf.d: add vim modelines/filetypes

This commit is contained in:
Aminda Suomalainen 2024-04-19 09:14:32 +03:00
parent b3eb6e06e7
commit 1a1bf9adb9
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
18 changed files with 36 additions and 0 deletions

View File

@ -35,3 +35,5 @@ forward-zone:
name: "http.badssl.com" name: "http.badssl.com"
forward-tls-upstream: no forward-tls-upstream: no
forward-addr: 8.8.8.8 forward-addr: 8.8.8.8
# vim: filetype=unbound.conf

View File

@ -23,3 +23,5 @@ server:
# Allow expired results to be served if they are in cache. The cache will # Allow expired results to be served if they are in cache. The cache will
# get updated the next time. # get updated the next time.
serve-expired: yes serve-expired: yes
# vim: filetype=unbound.conf

View File

@ -4,3 +4,5 @@ server:
# The following line will configure unbound to perform cryptographic # The following line will configure unbound to perform cryptographic
# DNSSEC validation using the root trust anchor. # DNSSEC validation using the root trust anchor.
auto-trust-anchor-file: "/var/lib/unbound/root.key" auto-trust-anchor-file: "/var/lib/unbound/root.key"
# vim: filetype=unbound.conf

View File

@ -32,3 +32,5 @@ forward-zone:
forward-addr: 2a10:50c0::2:ff@853#unfiltered.adguard-dns.com forward-addr: 2a10:50c0::2:ff@853#unfiltered.adguard-dns.com
forward-addr: 94.140.14.140@853#unfiltered.adguard-dns.com forward-addr: 94.140.14.140@853#unfiltered.adguard-dns.com
forward-addr: 94.140.14.141@853#unfiltered.adguard-dns.com forward-addr: 94.140.14.141@853#unfiltered.adguard-dns.com
# vim: filetype=unbound.conf

View File

@ -27,3 +27,5 @@ forward-zone:
# Cloudflare for 64:ff9b::/96 # Cloudflare for 64:ff9b::/96
forward-addr: 2606:4700:4700::64@853#dns64.cloudflare-dns.com forward-addr: 2606:4700:4700::64@853#dns64.cloudflare-dns.com
forward-addr: 2606:4700:4700::6400@853#dns64.cloudflare-dns.com forward-addr: 2606:4700:4700::6400@853#dns64.cloudflare-dns.com
# vim: filetype=unbound.conf

View File

@ -3,3 +3,5 @@ do-not-query-localhost: no
forward-zone: forward-zone:
name: "." name: "."
forward-addr: 127.0.2.1@53 forward-addr: 127.0.2.1@53
# vim: filetype=unbound.conf

View File

@ -18,3 +18,5 @@ forward-zone:
forward-addr: 94.140.15.15@853#dns.adguard.com forward-addr: 94.140.15.15@853#dns.adguard.com
# Updated for https://adguard.com/en/blog/adguard-dns-new-addresses.html # Updated for https://adguard.com/en/blog/adguard-dns-new-addresses.html
# vim: filetype=unbound.conf

View File

@ -56,3 +56,5 @@ forward-zone:
#forward-addr: 9.9.9.12@853#dns12.quad9.net #forward-addr: 9.9.9.12@853#dns12.quad9.net
#forward-addr: 2620:fe::12@853#dns12.quad9.net #forward-addr: 2620:fe::12@853#dns12.quad9.net
#forward-addr: 149.112.112.12@853#dns12.quad9.net #forward-addr: 149.112.112.12@853#dns12.quad9.net
# vim: filetype=unbound.conf

View File

@ -27,3 +27,5 @@ forward-zone:
# forward-addr: 193.110.81.9@853#zero.dns0.eu # forward-addr: 193.110.81.9@853#zero.dns0.eu
# forward-addr: 2a0f:fc81::9@853#zero.dns0.eu # forward-addr: 2a0f:fc81::9@853#zero.dns0.eu
# forward-addr: 185.253.5.9@853#zero.dns0.eu # forward-addr: 185.253.5.9@853#zero.dns0.eu
# vim: filetype=unbound.conf

View File

@ -29,3 +29,5 @@ forward-zone:
forward-addr: 8.8.4.4@853#dns.google forward-addr: 8.8.4.4@853#dns.google
forward-addr: 2001:4860:4860::8888@853#dns.google forward-addr: 2001:4860:4860::8888@853#dns.google
forward-addr: 2001:4860:4860::8844@853#dns.google forward-addr: 2001:4860:4860::8844@853#dns.google
# vim: filetype=unbound.conf

View File

@ -32,3 +32,5 @@ forward-zone:
#forward-addr: 9.9.9.12@853#dns12.quad9.net #forward-addr: 9.9.9.12@853#dns12.quad9.net
#forward-addr: 2620:fe::12@853#dns12.quad9.net #forward-addr: 2620:fe::12@853#dns12.quad9.net
#forward-addr: 149.112.112.12@853#dns12.quad9.net #forward-addr: 149.112.112.12@853#dns12.quad9.net
# vim: filetype=unbound.conf

View File

@ -4,3 +4,5 @@ server:
local-zone: "local." static local-zone: "local." static
local-zone: "internal." static local-zone: "internal." static
local-zone: "invalid." static local-zone: "invalid." static
# vim: filetype=unbound.conf

View File

@ -8,3 +8,5 @@ server:
verbosity: 2 verbosity: 2
# Print statistics to the log hourly # Print statistics to the log hourly
statistics-interval: 3600 statistics-interval: 3600
# vim: filetype=unbound.conf

View File

@ -16,3 +16,5 @@ forward-zone:
forward-addr: 2a0f:fc81::ffff forward-addr: 2a0f:fc81::ffff
forward-addr: 193.110.81.254 forward-addr: 193.110.81.254
forward-addr: 185.253.5.254 forward-addr: 185.253.5.254
# vim: filetype=unbound.conf

View File

@ -18,3 +18,5 @@ forward-zone:
# Google DNS64 for 64:ff9b::/96 (reserved NAT64 space) # Google DNS64 for 64:ff9b::/96 (reserved NAT64 space)
#forward-addr: 2001:4860:4860::6464 #forward-addr: 2001:4860:4860::6464
#forward-addr: 2001:4860:4860::64 #forward-addr: 2001:4860:4860::64
# vim: filetype=unbound.conf

View File

@ -1,3 +1,5 @@
server: server:
# Prefer IPv6 transport for sending DNS queries to internet nameservers. # Prefer IPv6 transport for sending DNS queries to internet nameservers.
prefer-ip6: yes prefer-ip6: yes
# vim: filetype=unbound.conf

View File

@ -2,3 +2,5 @@ server:
# Use two threads, I think more than 1 threads will help with Firefox # Use two threads, I think more than 1 threads will help with Firefox
# at times telling name resolution failed # at times telling name resolution failed
num-threads: 2 num-threads: 2
# vim: filetype=unbound.conf

View File

@ -23,3 +23,5 @@ control-key-file: "/etc/unbound/unbound_control.key"
# unbound-control certificate file. # unbound-control certificate file.
control-cert-file: "/etc/unbound/unbound_control.pem" control-cert-file: "/etc/unbound/unbound_control.pem"
# vim: filetype=unbound.conf