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

    pfSense using DNS Servers Not Listed in Config

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 337 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.
    • M
      mdt
      last edited by mdt

      For some reason my pfSense box keep using Cloudflare DNS servers (per dnsleaktest) even though there are no references to 1.1.1.1 or 1.0.0.1 in my config files. I have multiple outbound OpenVPN connections and pfBlockerNG but every DNS config I have is set to use non-Cloudflare DNS servers. Sometimes when I restart pfSense entirely, it will pick up the right DNS servers (the one I have configured manually in DNS resolver unbound) but then it will switch to Cloudflare at some point. I've checked the logs and I have looked everywhere in config (including DNS settings in the pfSense DHCP server) but I can't find any references to Cloudflare DNS servers. I've checked on my windows endpoint as well as my iPhone and they're all showing up as using Cloudflare for DNS. I've flushed my DNS cache, etc. and checked my wireless router as well (set in AP mode, no DHCP servers anyway). IPv4 only, set to use local DNS then fallback to remote (have tried other settings but it still does not work), do not allow DNS to be overriden by DHCP. Checked /etc/resolv.conf and no refs to Cloudflare DNS. Should I just wipe my config and start all over? Is there another way I can figure out where this is misconfigured?

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @mdt
        last edited by

        @mdt your more than likely looking in the wrong place - look to your browser.. That your running your dns leak test from..

        Sniff the lan interface of pfsense when you go doing this dns leak test.. Browsers love to do doh on their own to circumvent your local dns.. So you can see exactly what your client is asking for and who they are talking too..

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        M 1 Reply Last reply Reply Quote 0
        • M
          mdt @johnpoz
          last edited by

          @johnpoz said in pfSense using DNS Servers Not Listed in Config:

          @mdt your more than likely looking in the wrong place - look to your browser.. That your running your dns leak test from..

          Sniff the lan interface of pfsense when you go doing this dns leak test.. Browsers love to do doh on their own to circumvent your local dns.. So you can see exactly what your client is asking for and who they are talking too..

          That was it. Thank you!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.