Saturday, November 30, 2024

Can a daemon like unbound run in two RDOMAINs at the same time?

My server resolves with local resolution via unbound:


server ~ $ cat /etc/resolv.conf
nameserver 127.0.0.1
server ~ $


Daemon unbound corre en RDOMAIN 0:


server ~ $ ps ax -o user,rtable,command | grep -e unbound -e USER
USER RTABLE COMMAND
_unbound 0 /usr/sbin/unbound -c /var/unbound/etc/unbound.conf
_unbound 0 /usr/sbin/unbound -c /var/unbound/etc/unbound.conf
server ~ $


This works:


server ~ # route -T0 exec ksh -l
server ~ #
server ~ # id -R
0
server ~ #
server ~ # host www.openbsd.org
www.openbsd.org has address 199.185.178.80
www.openbsd.org has IPv6 address 2620:3d:c000:178::80
server ~ #


This doesn't work:


server ~ #
server ~ # route -T1 exec ksh -l
server ~ #
server ~ # id -R
1
server ~ #
server ~ # host www.openbsd.org
;; connection timed out; no servers could be reached
server ~ #


thank you.

No comments:

Post a Comment