Making this as a separate thread to my IAM/Agent questions.
Looking at this doc. I can see this as being similar to what we would need to achieve for our use case, but I want to confirm an understanding on how it works and its impacts.
The Ziti docs describe the ability to use wildcards in intercept configs & the design guide shows using *. as the address to be intercepted. This makes sense as the DC locator service could pick any DC in the domain to access for auth or to browse the domain namespace. The design guide also shows all ports (1-65535) being added, presumably also to account for the 'quirks' of windows RPC and its dynamic port behaviour.
Would this not effectively make the 1 service not just be for Domain Auth/Join, but also for any service within the zone? I.e If a service is configured to *.contoso.com, 1-65535 for DC auth, the user would also get access to https://someapp.contoso.com (with no ability to separate/prevent access).
If this is the case, how does routing work with multiple networks? I.e if multiple sites or zones each have domain controllers (or apps) in the same domain, and each site has a local edge router, and the identities of all such edge routers were added to a service policy for AD access - would all edge routers assume they can access all AD servers? or is there some implicit smarts/magic under the hood.
I.e with the service configured using *.contoso.com a site A with Edgerouter-East, DC-east1.contoso.com & DC-east2.contoso.com & a Site B with Edgerouter-West, DC-west1.contoso.com & DC-west2.contoso.com, and Edgerouter-East & Edgerouter-West in the same service policy . If a client with a desktop tunneler made a request to DC-east1.contoso.com, is it guaranteed to go through Edgerouter-East (if so, how? - is there a config separate to the service policy or is there some overlay network magic doing this). or is it required that all edge routers in a service policy can access any service directly on the underlay network. Similar for a https://someapp.contoso.com only hosted in Site A, will all requests be routed through Edgerouter-East, or does there need to be a route on the underlay from site B?
Is there a potential conflict between control plane DNS and the wild cards in the intercept config? ie if the control plane was hosted at ziti.contoso.com, would that conflict with the *.contoso.com service definition? (i.e would the control plane need to be changed to be like ziti.something.contoso.com or ziti.contoso.net instead)