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

    Use other DNS server for local resolving

    Scheduled Pinned Locked Moved DHCP and DNS
    5 Posts 2 Posters 443 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
      mrvanity
      last edited by

      Hello.
      I have a windows domain based on 2016 server, that acts as a dhcp and dns for the local network.This dns points to pfsense for upstream DNS.
      Pfsense uses isp dns as upstream.I have pfblockerng configured on pfsense to block categories of traffic.
      When i try to see traffic graph from pfsense i only see the local IP's and not hostnames, because of course pfsense cannot resolve local ip's
      Is it possible to configure pfsense to use the 2016 server to only to resolve the local ip's.
      (like a rule or something ,  if the query conserns the local subnet (192.168.20.x/24 for example), make this query on 192.168.20.10.)

      Regards.

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

        Sure setup a domain override.

        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
          mrvanity
          last edited by

          Thank you for your answer.

          My description might not be very good above.
          Pfsense in traffic graph does reverse dns queries ip->fqdn. When the query is made how will pfsense know the domain before hand, in order to use the domain override?

          Regards

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

            You setup a in-addr.arpa domain, ie reverse zone.

            0.168.192.in-addr.arpa

            if your using 192.168.0, etc..

            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
              mrvanity
              last edited by

              @johnpoz:

              You setup a in-addr.arpa domain, ie reverse zone.

              0.168.192.in-addr.arpa

              if your using 192.168.0, etc..

              Thank you johnpoz.
              The reverse dns zone is configured on the AD DNS.
              You mean configure it in the pfsense as well?
              It has to be in sync with the ad dns to be up to date.

              EDIT: Got it. I entered the reverse zone in domain overrides. Thanx!

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