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

    TIP: DNS Query Order (sequentially vs. parallel)

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 1 Posters 2.7k 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.
    • N
      NOYB
      last edited by

      Don't know if this has been mentioned before or not.  Sorry if it has and I jsut couldn't find it.

      By default pfSense DNS Forwarder (dnsmasq) queries each of it's DNS servers all at once (parallel).

      If you'd rather each of the DNS servers be tried sequentially one at a time.

      Try this:
      Add the dnsmasq 'strict-order' option to Services: DNS Forwarder - Advanced

      1 Reply Last reply Reply Quote 0
      • N
        NOYB
        last edited by

        DNS Forwarder Strict Order Option Patch

        Attached patch file adds a DNS forwarder strict order option to System: General page.
        The strict order option cause dnsmasq to query each of the DNS servers in sequential order rather than all at once in parallel.

        Patches are intended as examples only.
        Patches are AS IS and Untested.
        Not for production use.
        Do NOT use in production environment.
        Use at your own risk.
        No support.
        By using these patches you agree to assume all liability.

        Save Attached File:
        System.DNSForwarderStrictOrder.patch(.txt)

        Apply Patch:
        patch -p0 -i System.DNSForwarderStrictOrder.patch

        Patch file built with:
        2.0.1-RELEASE (i386)
        built on Mon Dec 12 18:24:17 EST 2011

        ![DNS Forwarder Strict Order Option.jpg](/public/imported_attachments/1/DNS Forwarder Strict Order Option.jpg)
        ![DNS Forwarder Strict Order Option.jpg_thumb](/public/imported_attachments/1/DNS Forwarder Strict Order Option.jpg_thumb)
        System.DNSForwarderStrictOrder.patch.txt

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