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

    DNS Forwarder not resolving

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 919 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
      marama
      last edited by marama

      Hi.
      I believe I don't quite understand how DNS on pfSense works.

      "System/General Setup/DNS Server Settings" is set to 8.8.8.8
      "Services/DNS Forwarder" is enabled,

      if I try to resolve local entries using the pfSense, it doesn't seem to work.

      nslookup localserver.domain.com 172.16.0.1 // (pfsense-ip)
      C:\Users\aaganovic>nslookup snipeit.parkside.at 172.16.0.1
      DNS request timed out.
      timeout was 2 seconds.
      Server: UnKnown
      Address: 172.16.0.1

      Any idea why?

      EDIT: Seems like it is not working only when the primary WAN (we are running dual WAN setup) is down.

      bingo600B 1 Reply Last reply Reply Quote 0
      • bingo600B
        bingo600 @marama
        last edited by

        @marama
        Remember 8.8.8.8 does not know your local dns names.

        Why did you "fiddle" with the default DNS settings ?
        pfSense default comes with a much better possibility , to query locally and then the DNS A-Root servers. There is normally no reason to specify 8.8.8.8 on pfSense ...

        Specifying a public DNS server , that's for PC's that doesn't have a running resolver (unbound).

        Try to revert back to the default settings.

        /Bingo

        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

        pfSense+ 23.05.1 (ZFS)

        QOTOM-Q355G4 Quad Lan.
        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

        M 1 Reply Last reply Reply Quote 0
        • M
          marama @bingo600
          last edited by

          @bingo600 I didn't fiddle with anything. We have split DNS with DNS forwarder and host overrides because of historical reasons. Back then, there was no "DNS resolver". I thought pfSense would first check if there is an host override in place, if not, then it would query the public DNS server. That setup has been working for years now, and I didn't want to change anything, since it was running fine. Today, our primary WAN failed, the failover to secondary WAN worked, but DNS didn't play ball as pfSense failed to return any DNS queries (not overrides, not public).

          What would be the right approach here (involving the least risk of breaking something)?
          I guess I'd need to get rid of forwarder and switch to resolver, right?

          bingo600B 1 Reply Last reply Reply Quote 0
          • bingo600B
            bingo600 @marama
            last edited by

            @marama
            You are saying all your local name resolving is based on host overrides ?
            That could be done with unbound (resolver) too.

            I have no experience with the DNS forwarder.

            Sorry

            /Bingo

            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

            pfSense+ 23.05.1 (ZFS)

            QOTOM-Q355G4 Quad Lan.
            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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