Failed to resolve ziti-tunnel.resolver.test

Ubuntu Focal
Even when I configure DNS resolve so resolvectl status shows that 127.0.0.1 is first, this error occurs

ziti-tunnel run -i http.server.json
[ 0.548] INFO ziti/ziti-tunnel/cmd/ziti-tunnel/subcmd.run: using tproxy interceptor
[ 0.558] INFO edge/tunnel/dns.flushDnsCaches: dns caches flushed
[ 0.558] INFO edge/tunnel/dns.NewDnsServer: starting dns server…
[ 2.560] INFO edge/tunnel/dns.NewDnsServer: dns server running at 127.0.0.1:53
[ 2.560] INFO edge/tunnel/dns.(*resolver).AddHostname: adding ziti-tunnel.resolver.test = 19.65.28.94 to resolver
[ 12.585] FATAL edge/tunnel/dns.NewDnsServer: system resolver test failed: failed to resolve ziti-tunnel.resolver.test: lookup ziti-tunnel.resolver.test: no such host

ziti-tunnel runs an internal DNS server which must be first in the host’s
resolver configuration. On systems that use NetManager/dhclient, this can
be achieved by adding the following to /etc/dhcp/dhclient.conf:

prepend domain-name-servers 127.0.0.1:53;

Hi @bjornrun, welcome to OpenZiti and thanks for your post.

I’m not as well-versed with the Linux tunneler nor all the different ways Linux networking can be configured. I haven’t seen this particular issue with the Linux tunneler lately though.

I think you might have better luck using the ziti-edge-tunnel, though. It’s the one that’s been more actively developed to be the client tunneler.

I’ll make it a priority to overhaul our tunnelers page. We have this issue to do that: tunnellers page overhaul · Issue #115 · openziti/ziti-doc · GitHub

Cheers