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

    Noob question Regarding DNS Resolver

    DHCP and DNS
    2
    3
    436
    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.
    • K
      KingCollins
      last edited by KingCollins

      Hi guys, I am a complete noob just trying to learn the basics. I have a few questions:

      I have DNS resolver enabled with DNS Forwarding disabled, it's working well. When the Resolver does have to venture out to resolve a request, will it query the DNS servers I have set under General -> DNS servers at all?

      I am running a DNS leak test and my WAN IP address is being returned, is this normal?

      Also, is there a way to globally set hosts passing through a VPN gateway/tunnel to only use a specific DNS server? Or do I need to manually set the DNS servers in each static DHCP entry?

      Thanks, sorry for the stupid questions

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

        @kingcollins said in Noob question Regarding DNS Resolver:

        will it query the DNS servers I have set under General -> DNS servers at all?

        No that is not how a resolver works.. It walks down from roots to get to the authoritative NS for the domain your wanting find a FQDN in

        Yes it is normal for your wan IP to be listed - since that is what will query the NS.

        If you want a client to query dns 1.2.3.4, then you would set the client to query that dns.. How you do that is up to you, be it your default dhcp setting, or specific in a dhcp reservation, or static on the device itself.

        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.7.2, 24.11

        K 1 Reply Last reply Reply Quote 0
        • K
          KingCollins @johnpoz
          last edited by

          @johnpoz said in Noob question Regarding DNS Resolver:

          No that is not how a resolver works.. It walks down from roots to get to the authoritative NS for the domain your wanting find a FQDN in

          Yes it is normal for your wan IP to be listed - since that is what will query the NS.

          If you want a client to query dns 1.2.3.4, then you would set the client to query that dns.. How you do that is up to you, be it your default dhcp setting, or specific in a dhcp reservation, or static on the device itself.

          Awesome, just wanted to clarify those questions.Thanks for your quick reply!

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