# How to change SNI of edge routers?

**URL:** <https://openziti.discourse.group/t/how-to-change-sni-of-edge-routers/4410>\
**Category:** zrok\
**Created:** [April 22, 2025, 9:32pm UTC](https://openziti.discourse.group/t/how-to-change-sni-of-edge-routers/4410 "2025-04-22T21:32:58Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![qrkourier](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/qrkourier/32/52_2.png) [@qrkourier](https://openziti.discourse.group/u/qrkourier)\
**Post date:** [April 24, 2025, 8:03pm UTC](https://openziti.discourse.group/t/how-to-change-sni-of-edge-routers/4410/10 "2025-04-24T20:03:08Z")

</div>

> [@Rantanplan](#):
>
> the zrok-agent connects to only the last added domain.name\_2

You're describing the behavior of the Ziti Edge SDK in a scenario where it is authorized to use a router that advertises two Edge listeners, and is connecting to only the second listener.

It may automatically switch to the other listener if the current connection fails. Additionally, a recent update has been implemented to utilize multiple connections, so you may notice this behavior change the next time you upgrade.

> [@Rantanplan](#):
>
> you need only one link router

All routers will continually attempt to form links until a full mesh is established with one bi-directional link per pair of routers.

> **[Components | OpenZiti](https://openziti.io/docs/learn/introduction/components/#router)**
>
> open source zero trust

> [@Rantanplan](#):
>
> This way if one ip range becomes unavailable i can simply stop the router but keep all others alive (double green).

I don't think it will be necessary to intervene. The Ziti network should handle this automatically, routing traffic via the best available path, assuming you have placed router listeners carefully to avoid single points of failure.

> [@Rantanplan](#):
>
> There is a single point of failure. It is apiEndpoint. It would be much easier if zrok-agent could read DNS SRV record.

I still think you can eliminate this SPoF with a horizontal array of zrok controllers like we sketched out in [Ziti-router: no network interface found for 0.0.0.0 - #8 by qrkourier](https://openziti.discourse.group/t/ziti-router-no-network-interface-found-for-0-0-0-0/4370/8)

---

_[View the full topic](https://openziti.discourse.group/t/how-to-change-sni-of-edge-routers/4410)._
