OPNsense Forum

English Forums => General Discussion => Topic started by: alfuth on October 26, 2025, 05:20:06 AM

Title: Host Name and Domain Resolve to IP Address and Port
Post by: alfuth on October 26, 2025, 05:20:06 AM
I'm trying to make it easier to access different docker container's web apps on my server by just typing in HOST.DOMAIN.com so that it resolves to 192.168.X.XX:PORT #, I've tried unbound overrides, unbound query forwarding and DNSMASQ host tabs, none work. This seems like it should be easy seeing as by default you set up your web app access to opnsense by opnsense.domain.com. What is the easiest way to do this?
Title: Re: Host Name and Domain Resolve to IP Address and Port
Post by: Monviech (Cedrik) on October 26, 2025, 06:46:05 AM
The answer is simple, DNS cannot do that.

You might want to look into a reverse proxy.
Title: Re: Host Name and Domain Resolve to IP Address and Port
Post by: alfuth on October 27, 2025, 04:58:09 PM
Thank you!