2 instances of Unbound

Started by TomekP, December 05, 2024, 09:03:59 AM

Previous topic - Next topic
December 05, 2024, 09:03:59 AM Last Edit: December 05, 2024, 10:39:30 AM by TomekP
i have two Unbound processes in memory
1. unbound   75253   0.0  0.7   145036   55000  -  Ss   08:32      0:01.28 /usr/local/sbin/unbound -c /var/unbound/unbound.conf
2. unbound   86979   0.0  0.2    41004   14940  -  Is   Tue20      0:00.01 /usr/local/sbin/unbound -c /usr/local/etc/unbound/unbound.conf

1 unbound.conf is a normal conf file
2 this config is empty (all lines are commented)

When I'm trying eg.  unbound-control stats_noreset -p 953 - this port is in 1 config - it's not possible because
unbound-control stats_noreset -p 953
[1733384419] unbound-control[96296:0] warning: control-enable is 'no' in the config file.
[1733384419] unbound-control[96296:0] error: connect: Connection refused for 127.0.0.1 port 8953


Is this normal? How can I use unbound-control?

IDK, maybe it is connected with looong resolve times (~500ms) for between adguard and Unbound (which is upstream DNS (127.0.0.1:5555 for Adguard on 192.168.1.10)