kuthael

Uzman
Katılım
27 Mart 2025
Mesajlar
190
Çözümler
2
Beğeniler
35
Merhaba,

Raspberry Pi 5 üzerinde Raspberry Pi OS Lite kullanıyorum. Unbound kurmaya çalışıyorum ama sürekli SERVFAIL hatası alıyorum. Yardim eder misiniz?
 
1776019867859.webp


Bu Config'i yazayım mi şu an hiçbir Config yazili degil. Sildim en bastan kurmayi deniyorum.
 
Config yazdıktan sonra sudo systemctl restart unbound yaptınız mı?


Config dosyanı şunun ile değiştirirmisin.

Kod:
    port: 5335.
    interface: 127.0.0.1.
    do-ip4: yes.
    do-udp: yes.
    do-tcp: yes.

 
    do-ip6: no.

   
    auto-trust-anchor-file: "/var/lib/unbound/root.key"
    harden-glue: yes.
    harden-dnssec-stripped: yes.

   
    qname-minimisation: yes.
    use-caps-for-id: no.

   
    prefetch: yes.
    num-Threads: 1.
    # Cache yönetimini AdGuard Home'a bırakmak için Unbound cache'ini sınırlı tutuyoruz.
    msg-cache-size: 8m.
    rrset-cache-size: 16m.

   
    access-control: 127.0.0.0/8 allow.

 
    verbosity: 1
 
Config yazdıktan sonra sudo systemctl restart unbound yaptınız mı?

Config dosyanı şunun ile değiştirir misin?

Kod:
 port: 5335.
 interface: 127.0.0.1
 do-ip4: yes.
 do-udp: yes.
 do-tcp: yes.

 do-ip6: no.

 auto-trust-anchor-file: "/var/lib/unbound/root.key"
 harden-glue: yes.
 harden-dnssec-stripped: yes.

 qname-minimisation: yes.
 use-caps-for-id: no.

 prefetch: yes.
 num-threads: 1
 # Cache yönetimini AdGuard Home'a bırakmak için Unbound cache'ini sınırlı tutuyoruz.
 msg-cache-size: 8m.
 rrset-cache-size: 16m.

 access-control: 127.0.0.0/8 allow.

 verbosity: 1

Bu hata veriyor basina server ekledim yine ayni.

1776020881485.webp
 
Böyle deneyin.


Kod:
server:
    directory: "/etc/unbound"
    verbosity: 1
    interface: 127.0.0.1
    port: 5335
    do-ip4: yes
    do-udp: yes
    do-tcp: yes
    do-ip6: no
    range-config-allow-udp: yes
   
   
    auto-trust-anchor-file: "/var/lib/unbound/root.key"
   
   
    harden-glue: yes
    harden-dnssec-stripped: yes
    use-caps-for-id: no
    qname-minimisation: yes
   
   
    access-control: 127.0.0.0/8 allow


Kod:
unbound-checkconf
sudo systemctl restart unbound
 
Böyle deneyin.


Kod:
server:
    directory: "/etc/unbound"
    verbosity: 1
    interface: 127.0.0.1
    port: 5335
    do-ip4: yes
    do-udp: yes
    do-tcp: yes
    do-ip6: no
    range-config-allow-udp: yes
  
  
    auto-trust-anchor-file: "/var/lib/unbound/root.key"
  
  
    harden-glue: yes
    harden-dnssec-stripped: yes
    use-caps-for-id: no
    qname-minimisation: yes
  
  
    access-control: 127.0.0.0/8 allow


Kod:
unbound-checkconf
sudo systemctl restart unbound
1776022521638.webp
 
Bunu deneyin.


Kod:
server:
    verbosity: 1.
    interface: 127.0.0.1.
    port: 5335.
    do-ip4: yes.
    do-udp: yes.
    do-tcp: yes.
    do-ip6: no.

    # DNSSEC ve Root Key.
    auto-trust-anchor-file: "/var/lib/unbound/root.key"

    # Güvenlik Ayarları.
    harden-glue: yes.
    harden-dnssec-stripped: yes.
    use-caps-for-id: no.
    qname-minimisation: yes.

    # Erişim İzni.
    access-control: 127.0.0.0/8 allow