Navigation

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

    PFSense forwarder (dnsmasq) unusually slow

    pfSense Packages
    3
    3
    147
    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.
    • X
      xrctp1 last edited by xrctp1

      I have been experiencing 2-5s delays when resolving names using PFSense's forwarder. Is there some sort of tuning to fix this? I tested resolution from the pfsense box itself and got responses in milliseconds.

      1 Reply Last reply Reply Quote 0
      • I
        ihoman202 last edited by

        Same here, both unbound & dnsmasq are slow as a snail

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

          Your going to have to actually give some details to work with here people!

          Where are you forwarding too? What does a query direct to that look like from your client as far as time.. What does the query time look like from client to pfsense?

          Example if your forwarding to 8.8.8.8

          $ dig www.google.com @8.8.8.8
          
          ; <<>> DiG 9.14.1 <<>> www.google.com @8.8.8.8
          ;; global options: +cmd
          ;; Got answer:
          ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34825
          ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
          
          ;; OPT PSEUDOSECTION:
          ; EDNS: version: 0, flags:; udp: 512
          ;; QUESTION SECTION:
          ;www.google.com.                        IN      A
          
          ;; ANSWER SECTION:
          www.google.com.         285     IN      A       216.58.192.132
          
          ;; Query time: 21 msec
          ;; SERVER: 8.8.8.8#53(8.8.8.8)
          ;; WHEN: Sat May 18 15:49:17 Central Daylight Time 2019
          ;; MSG SIZE  rcvd: 59
          

          Here is to unbound on pfsense.

          $ dig www.google.com
          
          ; <<>> DiG 9.14.1 <<>> www.google.com
          ;; global options: +cmd
          ;; Got answer:
          ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50496
          ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
          
          ;; OPT PSEUDOSECTION:
          ; EDNS: version: 0, flags:; udp: 4096
          ;; QUESTION SECTION:
          ;www.google.com.                        IN      A
          
          ;; ANSWER SECTION:
          www.google.com.         257     IN      A       172.217.6.100
          
          ;; Query time: 1 msec
          ;; SERVER: 192.168.3.10#53(192.168.3.10)
          ;; WHEN: Sat May 18 15:49:41 Central Daylight Time 2019
          ;; MSG SIZE  rcvd: 59
          

          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 23.01 | Lab VMs CE 2.6, 2.7

          1 Reply Last reply Reply Quote 0
          • First post
            Last post