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

    Dnsmasq slow when domain override enable

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 2.1k 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.
    • R
      rhys_rhaven
      last edited by

      I have 2 pfsense machines currently, and will be expanding with more. I'm trying to run the DNS system through them. We have a paid recursive DNS service that Machine 1 is using. Machine 2 is also running pfsense (1.2.3 for both). It uses Machine 1 for DNS. This is basically it.

      future1.example.com-
                                     
                                        v
      it.example.com -> datacenter.example.com -> RecursiveDNSservice.
                                        ^
                                        /
      future2.example.com-

      So I set domain overrides at datacenter.example.com for future1, future2 and it. So if you are in the future1 domain, and do a lookup on SomeServer.it.example.com, it will be forwarded to datacenter.example.com, which will know to query it.example.com as the authoritive server. Everything not overridden gets passed to the RecursiveDNSservice.
      The problem is that any override I set slows DNS to a crawl. Looking up ANY address takes anywhere from 5 to timeout seconds. I remove all the overrides, it goes back to being lightning fast.

      Anyone know what I'm doing wrong?

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