Hi,
I have configured rdomain 1 and bound daemons (httpd and relayd) to it.
They work as expected but I still have issues with DNS resolving on
localhost.
I have unbound listening on lo0 (127.0.0.1, rdomain0) and resolv.conf
configured with "nameserver 127.0.0.1".
When I try to use it from my other rdomain, the connection (from
nslookup or dig) is not possible. Even pinging the IP is not working:
# route -T 0 exec ping -n -c 1 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.138 ms
# route -T 1 exec ping -n -c 1 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
--- 127.0.0.1 ping statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
I can still ping external IPs though:
# route -T 1 exec ping -n -c 1 9.9.9.9
PING 9.9.9.9 (9.9.9.9): 56 data bytes
64 bytes from 9.9.9.9: icmp_seq=0 ttl=58 time=0.453 ms
I have tried using the "reject" and "pf" examples from the rdomain
manpage but it doesn't solve my issue. I'm not even sure I understood
what it was supposed to do :)
Is it possible to access lo0 from other rdomains?
Thanks,
Joel C.