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

    Redirect of 1 IP Group to shift bet. 2 diff. DNS Servers based on Schedule

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 3 Posters 1.1k 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 Offline
      maveric
      last edited by

      I am using pfsense 2.1. I have aliased a targeted group of user IP's into 1 alias. Now I want these IP addresses to use a specific DNS at a specific time frame (or schedule) and then shift (or default) to another DNS at another specific schedule. So far, the NAT+LANRule redirections I have put in are persistent and ineffective to what I am trying to accomplish.

      Plan:
          – At 12-1pm I want the group to use Google's Public DNS servers. And beyond that, revert back to or shift to OpenDNS

      Action:
          – Google DNS as default DNS on General Settings. Created a NAT Redirection on LAN for the IP group to Redirect to OpenDNS > added the associated BLOCK/REJECT rule and apply the schedule (block on 12-1 only). at 12-1pm pfsense should block/not use OpenDNS and use Google DNS (default) does it? Am I understanding it all correctly?

      Result:
          – At 12-1pm, No internet Access for the entire group!

      Is there another way of doing this? Or can it be done? TIA

      1 Reply Last reply Reply Quote 0
      • S Offline
        ssheikh
        last edited by

        @maveric:

        Plan:
            – At 12-1pm I want the group to use Google's Public DNS servers. And beyond that, revert back to or shift to OpenDNS

        And what are you hoping to accomplish by this? DNS entries have a TTL on them and some clients will cache the entry for the duration of the TTL.

        1 Reply Last reply Reply Quote 0
        • K Offline
          kejianshi
          last edited by

          I assume this is all about kids?

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