Page MenuHomeVyOS Platform

Explicit declare root domain in static-host-mapping
Closed, InvalidPublicFEATURE 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)

Event Timeline

Did you try dns forwarding domain?

set service dns forwarding domain abc.local server 192.0.2.5

Sorry just to clarify these are mostly web domains, not DCs, so there is no DNS running on them just HTTP.

dmbaturin added a subscriber: dmbaturin.

Looks more like a support request to me. If any specific bug report or feature request turns up about this, feel free to create it.