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

    Internal websites are not working

    Scheduled Pinned Locked Moved NAT
    6 Posts 3 Posters 652 Views
    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.
    • J
      jitu3363
      last edited by jitu3363

      recently I have implement the PFSENSE firewall and everything is working fine except local websites that are not resolving in the local network ( I have setup the host overrights and created a record in local win DNS server as well) .sites are working fine from external network .

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

        If your sites are resolving to the local address, and they are not working - how would pfsense have anything to do with that connection? Devices talking to each other on the same network do not go through pfsense.

        Validate your fqdn your trying to access that is local, actually resolves locally.

        You mention that you have created these local records in your windows DNS server? If you have a domain override for host.example.com, where pfsense asks your windows dns for this record via a domain override - keep in mind that would be a rebind, and unbound would not return that answer to the client without turning off rebind for that domain, or completely.

        Validate your local records you created are working as you want them too. Keep in mind also browsers can be using say doh now for dns, and not even asking your local dns - to get these local records..

        Validate your using your local dns and it resolves whatever FQDN your using to the IP you want it to resolve too.

        If your on a client say 192.168.1.100, and it wants to go to host.example.com, and this resolves to 192.168.1.101 - pfsense is not involved in that conversation. Validate that on your client .100 it actually resolves host.example.com to the 192.168.1.101 address.

        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 24.11 | Lab VMs 2.8, 24.11

        M 1 Reply Last reply Reply Quote 0
        • J
          jitu3363
          last edited by

          @johnpoz said in Internal websites are not working:

          "Validate your local records you created are working as you want them too. Keep in mind also browsers can be using say doh now for dns, and not even asking your local dns - to get these local records" -- I Just need mylab.com which is working ouside and it should be working on local network instead of local ip ...

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

            Well does mylab resolve to whatever local IP you want it too? If it did, then you wouldn't be here asking the question to be honest.

            dig.png

            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 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • M
              mikeinnyc @johnpoz
              last edited by

              @johnpoz said in Internal websites are not working:

              Validate your fqdn your trying to access that is local, actually resolves locally.

              I'm have the same problem. How?

              My fqdn is my Public Ip address
              server: 127.0.0.53
              Address: 127.0.0.53#53

              Non-authoritative answer:
              Name: mydomain.com
              Address: 67.243.8.xxx

              I can see my website from my cellphone but when I try locally no dice.

              Is it only the DNS I have to change?

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

                @mikeinnyc said in Internal websites are not working:

                server: 127.0.0.53
                Address: 127.0.0.53#53

                Well your asking some local caching dns with that IP, which is loopback - so where does it point - clearly not pfsense, if you have the override setup correctly.

                Use your fav dns tool, dig, host, nslookp and actually ask pfsense - do you get your override?

                Do a specific directed query to pfsense IP.

                This is not rocket science. You set a record in the dns software, unbound - if you ask unbound that is what it will return.. If you don't ask it, your going to get the answer from where your asking some public dns..

                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 24.11 | Lab VMs 2.8, 24.11

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