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

    DNS issue local webserver resolve with public IP

    Scheduled Pinned Locked Moved DHCP and DNS
    6 Posts 2 Posters 732 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.
    • S Offline
      scorpoin
      last edited by

      Greetings to All,

      I've already configured pfblocker-NG for DNS blackhole on lan and added those IP in DNS Resolver custom list which I want them to be bypass for pfblocker-ng .

      I have 2 local web server which are accessible via inter as well. Now issue is when any of my local user access that domain name it send them to internet/public, even I use ping hostname it resolve into public instead of local.

      Looking forward to your kind response.
      Regards

      V 1 Reply Last reply Reply Quote 0
      • V Offline
        viragomann @scorpoin
        last edited by

        @scorpoin
        Add host overrides for these hostnames to your DNS pointing to the internal IPs.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          scorpoin @viragomann
          last edited by

          @viragomann Thanks

          I already done that but no use. let me observe it again test it again.

          V 1 Reply Last reply Reply Quote 0
          • V Offline
            viragomann @scorpoin
            last edited by

            @scorpoin
            Possibly the browser uses DoH.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              scorpoin @viragomann
              last edited by

              @viragomann said in DNS issue local webserver resolve with public IP:

              uses DoH

              May be but how do I prevent DoH of browser . Any idea

              V 1 Reply Last reply Reply Quote 0
              • V Offline
                viragomann @scorpoin
                last edited by

                @scorpoin said in DNS issue local webserver resolve with public IP:

                May be but how do I prevent DoH of browser . Any idea

                There might be better places to ask this. It depends on the browser naturally.
                For instance Firefox: https://support.mozilla.org/en-US/kb/firefox-dns-over-https

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