Replies: 1 comment 4 replies
-
|
Thanks for asking. You can do that by creating a Conditional Forwarding zone for the domain name and select "This Server" as the forwarder. You can then add the required A record which will override the public record while the rest of the records will get resolved internally via This Server. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Imagine the following
server is both an VPN endpoint as well as web and mails server as well as reverse proxy.
Technitium has recursion enabled and no forwarders set.
I would want a local client, that queries for
whateverserviceto receive10.11.12.1for an answer as to use the VPN connection instead routing over the internet. Currently, I do get the public IP ofserverthough.I know there are plugins that would be able to override all answers containing the public IP with the private IP, which would break the VPN connection though, as the VPN devices would try to keep the VPN connection using the VPN tunnel IP of
serverinstead of the public one.The other option would be to duplicate all of the CNAMEs that are defined in the authoritative name server to my private one, but I'm sure as hell I'd forget that sometimes and wonder why stuff doesn't work.
Is there a way to use the "upstream" CNAMEs but resolve the IP locally (if entries exist for that)?
Beta Was this translation helpful? Give feedback.
All reactions