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

Apply dns(Open dns) to a particular range of ips and Google dns for the rest

Scheduled Pinned Locked Moved DHCP and DNS
2 Posts 2 Posters 1.8k 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.
  • V
    vina18
    last edited by Jul 29, 2011, 4:28 PM Jul 29, 2011, 3:58 PM

    I need help to apply a certain dns to a range of ips,because we are using Open DNS to block certain web sites and would like to set this only for this range of ips.

    Ex:  192.168.1.1-192.168.1.235  - BLOCKED

    192.168.1.235 to 255 - ALLOWED

    Just do it !

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Aug 1, 2011, 6:58 PM

      You can't set DNS with DHCP like that in 1.2.3 or 2.0. You can only set those options differently if those clients are on a different interface+subnet.

      Besides, if someone were smart enough they could just change their DNS servers manually to the other one you allow, and get around that restriction.

      When you setup a restriction like OpenDNS you must also set rules on that interface that prevent the users from talking to any other DNS servers.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received