Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Using Multiple DNS according to IP's

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 3 Posters 285 Views 3 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.
    • C Offline
      contact.fakhry
      last edited by

      Hi,

      I have pfsense v.2.4.4-RELEASE-p3 (amd64), I'm using OPENDNS proxy as a default DNS server But I need to make exceptions to some specific IP's to use my ISP DNS to reach youtube and other prohibited sites. thnax

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

        Well via dhcp hand those specific clients your isp dns, or google or 1.1.1.1 etc.. Or set that specific on the client..

        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 26.03 | Lab VMs 2.8.1, 26.03

        1 Reply Last reply Reply Quote 0
        • A Offline
          akuma1x
          last edited by akuma1x

          If you do DHCP static mappings for these "exception" machines, like @johnpoz says, you simply enter the other DNS server IP addresses in the area highlighted with the red box (see screenshot). You'll have to restart the DHCP server in pfsense, and renew the lease on your client machines for it to quickly take effect.

          screenshot-7264940.jpg

          Jeff

          1 Reply Last reply Reply Quote 0
          • C Offline
            contact.fakhry
            last edited by

            Thank you for your appreciated support, It's working perfectly.

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