Multiple websites (docker instances) behind pfsense
-
I have multiple docker instances behind pfsense and I can get to them outside of my network but not inside. I have put host overrides in the DNS resolver but they don't work should I be putting them in the DNS forwarder instead?
-
@dnwigley Are you using the forwarder and not the resolver (unbound)?
Is your client even using pfsense for its dns?
If you query using your favorite dns tool - nslookup, dig, host, etc. does your fqdn resolve to the IP your docker is listening on?
-
@johnpoz yes the client is using pfsense dns and I am using resolver rather than forwarder.
-
@dnwigley Then why would you think you need to put them in the forwarder????
Maybe your browser is using doh, and not even asking pfsense..
Create a host - ask the dns, it responds - its that simple..
If its not working, you didn't create the host in the right resolver/forwarder, your not using the that as your dns on your client. You did a domain override vs host? You created different host then your asking for?
So when you ask via say nslookup to pfsense running unbound and you created your host override in - what do you get back? timeout, nx, refused?