Use pihole with pfense

I wish to use pihole as my DNS server for PFsense. Any tips or ideas would be greatly appreciated.

Enable "Disable DNS Rebinding Checks"

nothing special;

  • if you are locking DNS server to clients then allow traffic to servers used by pihole to go out to wan if no then ignore this.
  • set up pihole...
  • set pfsense: go to dhcp server settings;
    now you have 2 options
  1. if you want all clients to use pihole as DNS server then add pihole ip to DNS Servers and also after this add resolver used by pihole in case pihole will go offline so your clients will not go dark, or LAN IP interface if you want pfsense to resolve dns.
  2. if you want only some clients to use pihole as dns server then change dns settings for that clients only - previously clients must have static IP assigned; edit the client and change the same.

p.s.
my recommendation is to use pfBlockerNG for pfsense, it is more capable then pihole for this job at this moment.

answered also here...