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



  • 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


  • Rebel Alliance Developer Netgate

    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.


Locked