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

    Redirecting all DNS Requests to pfSense for selected IP address

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 5 Posters 1.5k 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.
    • G Offline
      geniux
      last edited by

      Hi All,

      There's anyone can help me to setup the redirecting all dns request to pfsense for selected ip address.

      Please see picture below of my setup firewall.

      ![redirecting all dns to pfsense.JPG](/public/imported_attachments/1/redirecting all dns to pfsense.JPG)
      ![redirecting all dns to pfsense.JPG_thumb](/public/imported_attachments/1/redirecting all dns to pfsense.JPG_thumb)

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

        Well create a alias and use that as your source Addresses.

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

        1 Reply Last reply Reply Quote 0
        • jahonixJ Offline
          jahonix
          last edited by

          But that's not redirecting, that's simply blocking other DNS servers.

          https://doc.pfsense.org/index.php/Redirecting_all_DNS_Requests_to_pfSense  and https://forum.pfsense.org/index.php?topic=112020.msg623876#msg623876

          1 Reply Last reply Reply Quote 0
          • I Offline
            isolatedvirus
            last edited by

            @jahonix:

            But that's not redirecting, that's simply blocking other DNS servers.

            https://doc.pfsense.org/index.php/Redirecting_all_DNS_Requests_to_pfSense  and https://forum.pfsense.org/index.php?topic=112020.msg623876#msg623876

            OP, follow the 'redirecting all dns requests to pfsense' but only apply it to the selected IP you want.

            1 Reply Last reply Reply Quote 0
            • P Offline
              Paul47
              last edited by

              Follow the method used here, but for dns, and call out the specific address:

              http://www.interspective.net/2012/07/pfsense-ntp-and-network-sneakery.html

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

                @jahonix:

                But that's not redirecting, that's simply blocking other DNS servers.

                https://doc.pfsense.org/index.php/Redirecting_all_DNS_Requests_to_pfSense  and https://forum.pfsense.org/index.php?topic=112020.msg623876#msg623876

                Yes it freaking is… See the port forward he posted.. If he puts source alias on that for his IPs he wants to redirect only.. Those are the only ones that are redirect..

                Do we really need to post a picture of something so basic??

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

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