Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Multiple websites (docker instances) behind pfsense

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 865 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      dnwigley
      last edited by

      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?

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ Online
        johnpoz LAYER 8 Global Moderator @dnwigley
        last edited by

        @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?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 25.07.1 | Lab VMs 2.8, 25.07.1

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          dnwigley @johnpoz
          last edited by

          @johnpoz yes the client is using pfsense dns and I am using resolver rather than forwarder.

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ Online
            johnpoz LAYER 8 Global Moderator @dnwigley
            last edited by

            @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?

            hostover.jpg

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 25.07.1 | Lab VMs 2.8, 25.07.1

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.