AdGuard + Unbound


BuTscH
Go to solution Solved by BuTscH,

Recommended Posts

Grüße!

 

Da alles was noch auf meinem pi läuft nun auf Unraid laufen soll habe ich mir im Zuge dessen statt pihole mal AdGuard angeschaut und es hat mich überzeugt.

 

AdGuard und Unbound laufen soweit auch aber in der Konsole zu Unbound tauchen ein paar Fehler auf.

Screenshot_20221111_051454.thumb.png.7514b54d5e76b3996c8f10b5839f121d.png

 

Wie gesagt der Docker startet und läuft auch aber ich würde dennoch gerne wissen ob es “problematisch“ ist.

 

Da der Unbound Docker der hier bei den Apps angeboten wird nicht mehr geflegt wird hatte ich selbst ein Template mit dem Docker von mvance/unbound erstellt.

 

Im Appdata verzeichniss von Unbound habe ich auch die unbound.conf und root.hints angelegt.

 

Hier noch meine unbound.conf
 

Spoiler

server:

  interface: 0.0.0.0

  port: 53

 

  # IPv4 / IPv6-settings

  do-ip6: no

  do-ip4: yes

  do-udp: yes

 

  # Access control list

  access-control: 192.168.10.202/8 allow_snoop

 

  # Set number of threads to use

  num-threads: 1

 

  # Use this only when you downloaded the list of primary root servers!

  # If you use the default dns-root-data package, unbound will find it automatically

  root-hints: "/opt/unbound/etc/unbound/root.hints"

 

  # Hide DNS Server info

  hide-identity: yes

  hide-version: yes

 

  # Limit DNS Fraud and use DNSSEC

  harden-glue: yes

  harden-dnssec-stripped: yes

  harden-referral-path: yes

  use-caps-for-id: no

  harden-algo-downgrade: yes

  qname-minimisation: yes

 

  # Add an unwanted reply threshold to clean the cache and avoid when possible a DNS Poisoning

  unwanted-reply-threshold: 10000000

 

  # Minimum lifetime of cache entries in seconds

  cache-min-ttl: 300

 

  # Maximum lifetime of cached entries

  cache-max-ttl: 14400

 

  # Prefetch

  prefetch: yes

  prefetch-key: yes

 

  # Optimisations

  msg-cache-slabs: 8

  rrset-cache-slabs: 8

  infra-cache-slabs: 8

  key-cache-slabs: 8

 

  # Increase memory size of the cache

  rrset-cache-size: 256m

  msg-cache-size: 128m

 

  # Increase buffer size so that no messages are lost in traffic spikes

  so-rcvbuf: 1m

  edns-buffer-size: 1472

 

  # Private addresses

  private-address: 192.168.0.0/16

  private-address: 192.168.10.0/16

  private-address: 169.254.0.0/16

  private-address: 172.16.0.0/12

  private-address: 10.0.0.0/8

  private-address: fd00::/8

  private-address: fe80::/10

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.