OPNsense Forum

English Forums => General Discussion => Topic started by: rama3124 on April 17, 2024, 11:27:15 AM

Title: Custom DNS record to point subdomain to Traefik reverse proxy locally
Post by: rama3124 on April 17, 2024, 11:27:15 AM
Hi
I run opnsense with adguard home & unbound DNS and wish to set up a custom DNS record to point app.mydomain.com to my application locally. I have Traefik reverse proxy running on one of the ports of my unraid server so if I could arrange for the app.mydomain.com to resolve to Traefik, I think Traefik would be able to connect to my application. How can I set this record up? Hopefully my question makes sense
Title: Re: Custom DNS record to point subdomain to Traefik reverse proxy locally
Post by: Monviech (Cedrik) on April 17, 2024, 02:22:55 PM
You could use the host overrides of unbound:

https://docs.opnsense.org/manual/unbound.html#overrides