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

DNS Resolver not working, request timed out

Scheduled Pinned Locked Moved DHCP and DNS
7 Posts 3 Posters 4.6k 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.
  • G
    gnammyx
    last edited by Mar 14, 2018, 7:29 AM

    Goodmorning everyone,
    I have a problem with the PfSense DNS Resolver. I'm doing lab tests to use pfsense during an event, so I connected the wan to the corporate network that takes the address via dhcp with internal dns. I have the DNS Resolver active with the default settings and PfSense has the default settings, I left everything as it was.
    If I query the DNS from a windows machine connected to the LAN port, I get the answer "DNS request timed out". Analyzing the traffic with Wireshark I get an answer "server Failure" with flag "Authoritative: Server is not an authority for domain"
    Where am I doing wrong?

    thank you
    Capture.PNG
    Capture.PNG_thumb

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Mar 14, 2018, 8:07 AM

      You got a servfail… Where is pfsense?  In a corp network.. Yeah pfsense out of the box tries and resolve.. Many corp networks block outbound dns.. So you would need to forward pfsense to whatever your corp dns is, or allow outbound on 53..

      Also if pfsense is going to forward to some dns, and lookup rfc1918 addresses its going to complain of rebind, etc.

      So you just want it to resolve public dns or internal dns as well?

      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

      1 Reply Last reply Reply Quote 0
      • G
        gnammyx
        last edited by Mar 14, 2018, 8:23 AM

        thank you for the fast response.
        I need to configure PfSense to permit navigation on client using wifi, with proxy and traffic shaping, so I don't need to resolve internal addresses, only public traffic.
        The private corp addresses are on the class like 10.8.x.x
        thank you

        1 Reply Last reply Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by Mar 14, 2018, 8:59 AM

          And again out of the box pfsense will resolve, not forward.  Does your corp network allow any box on their network to query say 8.8.8.8 dns without interception?

          Shoot many corp networks do not even allow internal clients to resolve anything public.. Only the proxy in the corp network can resolve say www.google.com

          Out of the box pfsense unbound will resolve, meaning it walks down from roots until it talks to the actual authoritative NameServer for the domain your looking.. So if your corp network does not allow this.. Then you would need to put unbound in forwarder mode and forward dns queries to some nameservers that will allow return the public info you want.  So in turn pfsense can hand that back to clients behind it using it for dns.

          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

          1 Reply Last reply Reply Quote 0
          • G
            gnammyx
            last edited by Mar 14, 2018, 10:06 AM

            ok ok, I understand what you mean, so I've tried to enable "Enable Forwarding Mode" on DNS Resolver but it works only if I uncheck the "DNSSEC data is required for trust-anchored zones", in advanced settings page

            1 Reply Last reply Reply Quote 0
            • J
              johnpoz LAYER 8 Global Moderator
              last edited by Mar 14, 2018, 11:44 AM

              Well if where you forward to doesn't support dnssec than yeah you would need to disable dnssec.  Also trying to ask a forwarder for dnssec and the trust anchors is pretty pointless anyway.

              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

              1 Reply Last reply Reply Quote 0
              • P
                Peerapat1
                last edited by Mar 20, 2018, 5:17 AM

                Tengo una buena respuesta de este hilo.

                1 Reply Last reply Reply Quote 0
                1 out of 7
                • First post
                  1/7
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  This community forum collects and processes your personal information.
                  consent.not_received