Brauche bei unbound Hilfe drigend

pi@raspberrypi:~ $ sudo service unbound start
Job for unbound.service failed because the control process exited with error code.
See "systemctl status unbound.service" and "journalctl -xe" for details.
pi@raspberrypi:~ $ dig pi-hole.net @127.0.0.1 -p 5353

; <<>> DiG 9.11.5-P4-5.1-Raspbian <<>> pi-hole.net @127.0.0.1 -p 5353
;; global options: +cmd
;; connection timed out; no servers could be reached
pi@raspberrypi:~ $ sudo service unbound status
● unbound.service - Unbound DNS server
   Loaded: loaded (/lib/systemd/system/unbound.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2020-01-19 17:59:18 CET; 30s ago
     Docs: man:unbound(8)
  Process: 30544 ExecStartPre=/usr/lib/unbound/package-helper chroot_setup (code=exited, status=0/SUCCESS)
  Process: 30547 ExecStartPre=/usr/lib/unbound/package-helper root_trust_anchor_update (code=exited, status=0/SUCCESS)
  Process: 30551 ExecStart=/usr/sbin/unbound -d $DAEMON_OPTS (code=exited, status=1/FAILURE)
 Main PID: 30551 (code=exited, status=1/FAILURE)

Jan 19 17:59:18 raspberrypi systemd[1]: unbound.service: Service RestartSec=100ms expired, scheduling restart.
Jan 19 17:59:18 raspberrypi systemd[1]: unbound.service: Scheduled restart job, restart counter is at 5.
Jan 19 17:59:18 raspberrypi systemd[1]: Stopped Unbound DNS server.
Jan 19 17:59:18 raspberrypi systemd[1]: unbound.service: Start request repeated too quickly.
Jan 19 17:59:18 raspberrypi systemd[1]: unbound.service: Failed with result 'exit-code'.
Jan 19 17:59:18 raspberrypi systemd[1]: Failed to start Unbound DNS server.

Brauche Drigend Hilfe

Hi,

ändere den port auf 5335

welche version von unbound versuchst du zu installieren?

die neuste

Habe ich getan funkt immer noch nicht

also die 1.9.6 ?

falls ja, dann ändere die config an diesem pfad

/usr/local/etc/unbound/unbound.conf

danach wird es gehen!

hatte das selber problem

WOher weiß ich eigentlich welche ich habe nur sudo apt install unbound gemacht und alles war eigentlich da aber es geht nicht

sudo unbound -V

mit dem apt install hast du mit sicherheit die 1.9.0

ja habe 1.9.0

Was kann ich tun

mach mal unbound -v

kleindes v

sudo nano /usr/local/etc/unbound/unbound.conf

und hier dann die config anpassen

das kommt bei unbound -v raus [1579454918] unbound[1656:0] notice: Start of unbound 1.9.0. [1579454918] unbound[1656:0] warning: so-rcvbuf 1048576 was not granted. Got 327 680. To fix: start with root permissions(linux) or sysctl bigger net.core.rmem_m ax(linux) or kern.ipc.maxsockbuf(bsd) values.

bei unbound.conf ist alles richtig eingestellt

welcher Anleitung bist du gefolgt?

https://forum.kuketz-blog.de/viewtopic.php?f=42&t=3067&hilit=unbound

https://www.klaus-pforte.de/content/knowhow/raspberrypi_pihole.html

und hier:

https://docs.pi-hole.net/guides/unbound/

dein fehler besagt meiner meingung dass du unbound ohne root rechte versuchst zu starten

wie versuchst du unbound zu starten?

Den letzten link habe ich verfolgt / ausgeführt und why root rechte

sudo service unbound start

Da stand nichts mit root rechten

habt jetzt versucht mit root rechten zu starten dann kommt das raus `sudo -i

root@raspberrypi:~# sudo service unbound start
Job for unbound.service failed because the control process exited with error code.
See "systemctl status unbound.service" and "journalctl -xe" for details.
root@raspberrypi:~# sudo service unbound status
● unbound.service - Unbound DNS server
   Loaded: loaded (/lib/systemd/system/unbound.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2020-01-19 18:46:21 CET; 6s ago
     Docs: man:unbound(8)
  Process: 4270 ExecStartPre=/usr/lib/unbound/package-helper chroot_setup (code=exited, status=0/SUCCESS)
  Process: 4273 ExecStartPre=/usr/lib/unbound/package-helper root_trust_anchor_update (code=exited, status=0/SUCCESS)
  Process: 4278 ExecStart=/usr/sbin/unbound -d $DAEMON_OPTS (code=exited, status=1/FAILURE)
 Main PID: 4278 (code=exited, status=1/FAILURE)

Jan 19 18:46:20 raspberrypi systemd[1]: Failed to start Unbound DNS server.
Jan 19 18:46:20 raspberrypi systemd[1]: unbound.service: Service RestartSec=100ms expired, scheduling restart.
Jan 19 18:46:20 raspberrypi systemd[1]: unbound.service: Scheduled restart job, restart counter is at 5.
Jan 19 18:46:21 raspberrypi systemd[1]: Stopped Unbound DNS server.
Jan 19 18:46:21 raspberrypi systemd[1]: unbound.service: Start request repeated too quickly.
Jan 19 18:46:21 raspberrypi systemd[1]: unbound.service: Failed with result 'exit-code'.
Jan 19 18:46:21 raspberrypi systemd[1]: Failed to start Unbound DNS server.
`

Habe beim Root hints die " entfernt also so /var/lib/unbound/root.hints