# Ziti-tunnel resolver test

**URL:** <https://openziti.discourse.group/t/ziti-tunnel-resolver-test/729>\
**Category:** Ziti Overlay\
**Created:** [September 4, 2022, 6:18am UTC](https://openziti.discourse.group/t/ziti-tunnel-resolver-test/729 "2022-09-04T06:18:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [September 4, 2022, 6:18am UTC](https://openziti.discourse.group/t/ziti-tunnel-resolver-test/729/1 "2022-09-04T06:18:59Z")

</div>

Quick question… as I was looking through the logs when I was starting up the ziti-router and noticed the following comment

` adding ziti-tunnel.resolver.test = 19.65.28.94 to resolver`

Any ideas what this is doing?

---

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [September 4, 2022, 6:23am UTC](https://openziti.discourse.group/t/ziti-tunnel-resolver-test/729/2 "2022-09-04T06:23:01Z")

</div>

> [@markamind](#):
>
> 19.65.28.94

I found the following in the readme file 🙂

## DNS Server

ziti-tunnel runs an internal DNS server by default. The DNS server must be first in the host's resolver  
configuration (e.g. resolve.conf). A self-test is performed when ziti-tunnel starts to ensure that its  
internal DNS server is configured in the system resolver:

```
INFO[0002] dns server started on 127.0.0.1:53           
INFO[0002] adding ziti-tunnel.resolver.test -> 19.65.28.94 to resolver 
INFO[0002] removing ziti-tunnel.resolver.test from resolver 

```

The test involves inserting a known hostname/IP address into the internal DNS server, and using the system  
resolver to retrieve the address of the hostname. _ziti-tunnel will exit if the DNS self-test fails._

Linux distributions typically manage the contents of /etc/resolv.conf, so simply editing the file  
will only work for a short time until /etc/resolv.conf is overwritten by the managing process.

---

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [September 4, 2022, 6:24am UTC](https://openziti.discourse.group/t/ziti-tunnel-resolver-test/729/3 "2022-09-04T06:24:00Z")

</div>

Is it possible to customise this?

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [September 4, 2022, 3:44pm UTC](https://openziti.discourse.group/t/ziti-tunnel-resolver-test/729/4 "2022-09-04T15:44:25Z")

</div>

No, it’s not configurable. What would you want to be able to configure it for? It’s added, tested for, then removed immeditely. I don’t quite see the value that you’re after

---

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [September 5, 2022, 12:27am UTC](https://openziti.discourse.group/t/ziti-tunnel-resolver-test/729/5 "2022-09-05T00:27:50Z")

</div>

I was just curious… any reasons why that specific IP address was used.

I don’t really have a lot of insight about these things… I noticed the IP range of 19.0.0.0 appears to link to the Ford company… hence… why I thought to ask the question

> **[19.0.0.0 - United States - Ford Motor Company - IP address geolocation](https://db-ip.com/19.0.0.0)**
>
> 19.0.0.0 is an IPv4 address owned by Ford Motor Company and located in Dearborn, Michigan, United States (see map)

---

<div class="post-metadata">

**Author:** ![scareything](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/scareything/32/106_2.png) [@scareything](https://openziti.discourse.group/u/scareything)\
**Post date:** [September 5, 2022, 1:29am UTC](https://openziti.discourse.group/t/ziti-tunnel-resolver-test/729/6 "2022-09-05T01:29:49Z")

</div>

That link to ford motor company is an amazing coincidence that I was unaware of until now.

When I created the resolver self test, I chose the IP based on my first vehicle, which was a 1965 Ford Mustang with 289 cid engine and a 4-speed manual transmission.

Thanks for your curiosity!
