Pfsense force Redirect DNS request



  • I followed this guide so that all clients only uses pfsense DNS

    https://doc.pfsense.org/index.php/Redirecting_all_DNS_Requests_to_pfSense

    but what if i want to exclude a single client or pc ? do i create a new rule for this ?

    Thanks


  • LAYER 8 Netgate

    If you click advanced on that port forward you can specify or exclude the source addresses to which the port forward applies.

    For your application, you probably want to create an alias containing the addresses you do not want DNS port forwarding for, click advanced, invert the match by checking the box, and choose the alias you have created.

    LEAVE THE SOURCE PORTS AS ANY or it WILL NOT work.

    ![Screen Shot 2016-05-18 at 12.12.33 AM.png](/public/imported_attachments/1/Screen Shot 2016-05-18 at 12.12.33 AM.png)
    ![Screen Shot 2016-05-18 at 12.12.33 AM.png_thumb](/public/imported_attachments/1/Screen Shot 2016-05-18 at 12.12.33 AM.png_thumb)



  • thanks a lot !  :)


Log in to reply