Lets say a user block at 192.168.1.0/24 wants to access facebook. I want the BIND Server to reply with a wrong IP address, lets say 172.32.1.1. But when users from the IP address block of 192.168.2.0/24 want to access facebook they will get the real IP address of facebook.
DNS used is BIND9.
you can implement this by creating views in
named.conf
ACL for non facebook users:
and the view linked to your zone file: