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

    Resolver works but not nslookup on PC

    Scheduled Pinned Locked Moved DHCP and DNS
    7 Posts 3 Posters 269 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.
    • M
      McMurphy
      last edited by

      I have the Resolver working resolving local hostnames over a VPN connection
      01.04.2024_20.30.35_REC.png

      The PCs are set to use pfSense for DNS (192.168.2.254) however nslookup on the PC fails to resolve
      01.04.2024_20.35.39_REC.png

      As can be seen above the hostname can be resolved if I manually specify the DNS server 100.96.1.1 in nslookup

      I have disabled the resolver rebind protection for the domain
      01.04.2024_20.39.18_REC.png

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @McMurphy
        last edited by

        @McMurphy

        So "100.96.1.1" knows who "nsmrd101" is.
        Is "192.168.2.54" asking "100.96.1.1" ?

        Switch unbound/resolver to debug query (3 - or higher ?) level to see what happens.
        It's forwarding to "100.96.1.1" ?

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        M 2 Replies Last reply Reply Quote 0
        • M
          McMurphy @Gertjan
          last edited by

          @Gertjan

          Extracted the following from the Resolver log.

          I cannot post the log here as it gets flagged as Spam?

          Resolver Log.txt

          1 Reply Last reply Reply Quote 0
          • M
            McMurphy @Gertjan
            last edited by

            @Gertjan

            Interesting...

            I swapped from the Resolver (in forward mode) to the Forwarder and it resolves perfectly.

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

              @McMurphy have we not been over this multiple times already?

              You need to do a fqdn lookup.. This what you queried for

              Apr 1 22:00:42 unbound 86364 [86364:0] info: processQueryTargets: nsmrd101.mydomain.local. A IN

              That is a horrible choice for a local domain.. .local is for mdns, you shouldn't be using it as your actual tld.

              Did you uncheck do dnssec, because the forwarder wouldn't be doing dnssec so that is possible reason you got an answer?

              At a complete loss to why you would think you should need to obfuscate mydomain.local

              Your previous posts were sure not about mydomain.local.

              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
              • M
                McMurphy @johnpoz
                last edited by

                @johnpoz said in Resolver works but not nslookup on PC:

                @McMurphy have we not been over this multiple times already?

                Quite possibly. All making more send now.

                You need to do a fqdn lookup.. This what you queried for

                Apr 1 22:00:42 unbound 86364 [86364:0] info: processQueryTargets: nsmrd101.mydomain.local. A IN

                That is a horrible choice for a local domain.. .local is for mdns, you shouldn't be using it as your actual tld.

                Not my choice. I inherited it.

                Did you uncheck do dnssec, because the forwarder wouldn't be doing dnssec so that is possible reason you got an answer?

                Bingo. Disabled DNSSEC and it now works with the forwarder. Ty.

                At a complete loss to why you would think you should need to obfuscate mydomain.local

                I could edit the text in the log text to change the domain name but unable to do so in the screenshots. It is .local though.

                Your previous posts were sure not about mydomain.local.

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

                  @McMurphy said in Resolver works but not nslookup on PC:

                  Not my choice. I inherited it.

                  Well change it.. .local is mdns.. Trying to use it as your normal domain in actual dns can be problematic. The domain of choice currently is home.arpa, .internal is soon to be approved from my understanding... So you could use like mydomain.internal, or just home.arpa or mydomain.home.arpa

                  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.