Closed ocfox closed 10 months ago
This error is caused by the non-existence of /etc/resolv.conf
when attempting to load the system-wide dns configuration..
While dns resolution is not necesaary here, this behavior should be avoided.
Is it possible to have setup_dns
run when dns resolution is needed instead of the default behavior?
https://github.com/zhboner/realm/blob/882c2e3c00e73aba97cddc02295a92a1daaaa1e8/src/bin.rs#L60
Well it looks like it's a complicated change, so maybe it's simpler to just start resolved.
If it's just a local network relay that's needed it's possible that the DNS service isn't needed, I run it on a machine that doesn't have a DNS service and it results in the following error.
Running it without getting the system DNS resolution service might be possible.