Page MenuHomeVyOS Platform

Explicit declare root domain in static-host-mapping
Open, Requires assessmentPublicFEATURE REQUEST

Description

I have a scenario where for our domain, we have multiple subdomains hosted locally (eg abc.com, 1.abc.com, 2.abc.com) and multiple domains hosted remotely (eg a.abc,com, b.abc.com). To provide internal access to the locally hosted sites, I'm using system static-host-mapping to point the relevant local domains to the local proxy address.

The problem that I have is that the root domain (abc.com) is locally hosted, and putting the root domain as an alias in static-host-mapping appears to redirect all traffic to that domain and any subdomains to the mapped host, thereby breaking internal access to the remotely hosted sites.

My workaround for the moment is to also provide a static map for each of the remote subdomains, but it would be nice to be able to explicitly specify the root domain as a target, rather than it being a wildcard entry... perhaps something like the DNS equivalent of specifying the root domain using '@'?

Thank you for considering.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Behavior change
Issue type
Improvement (missing useful functionality)