0

Intermittent DNS resolution issues - UniFi USG

I've recently installed NextDNS on our router (UniFi USG) and keep getting what I think are DNS timeout errors. A website won't load, but when I try again 30 seconds later it will work.

I was previously using NextDNS but with a linked IP (instead of the installed resolver). 

Looking at the logs, some rows stand out:

Feb 27 11:49:33 UniFi-USG nextdns[2971]: Connected <redacted> (con=10ms tls=1317ms, TLS13)

Feb 27 16:00:10 UniFi-USG nextdns[2971]: Received signal: window changed (ignored)
Feb 27 16:00:36  nextdns[2971]: last message repeated 9 times

Feb 27 16:48:20 UniFi-USG nextdns[2971]: Received signal: interrupt (ignored)
Feb 27 16:49:25  nextdns[2971]: last message repeated 2 times

Feb 27 17:01:34 UniFi-USG nextdns[2971]: Connected <redacted> (con=15ms tls=241ms, TLS13)
Feb 27 17:03:36 UniFi-USG nextdns[2971]: Connected <redacted> (con=11ms tls=227ms, TLS13)

How can I fix this? I'd prefer to have the device identification provided by the installed resolver, but if needed I can go back to the linked IP solution. Anyone having the same issue?

3 replies

null
    • Daniel.2
    • 3 yrs ago
    • Reported - view

    Found more logs that seem to indicate issues. I was actually talking to Slack support about some issues when downloading files, which they attributed to faulty DNS, so this seems related.

    Feb 26 13:45:27 UniFi-USG nextdns[3247]: Query 127.0.0.1 UDP AAAA dns.nextdns.io. (qry=32/res=12) 15431ms : doh resolve: context deadline exceeded
    Feb 26 13:45:27 UniFi-USG nextdns[3247]: Query 192.168.2.8 UDP AAAA www.ubnt.com. (qry=30/res=12) 6050ms : doh resolve: context deadline exceeded
    Feb 26 13:45:27 UniFi-USG nextdns[3247]: Query 127.0.0.1 UDP A dns.nextdns.io. (qry=32/res=12) 15424ms : doh resolve: context deadline exceeded
    Feb 26 13:45:27 UniFi-USG nextdns[3247]: Query 192.168.2.8 UDP A www.ubnt.com. (qry=30/res=12) 6067ms : doh resolve: context deadline exceeded
    Feb 26 13:45:27 UniFi-USG nextdns[3247]: Query 192.168.3.10 UDP A wss-primary.slack.com. (qry=39/res=12) 15190ms : doh resolve: context deadline exceeded
    Feb 26 13:45:27 UniFi-USG nextdns[3247]: Query 192.168.3.10 UDP A wss-primary.slack.com. (qry=39/res=12) 13203ms : doh resolve: context deadline exceeded
    Feb 26 13:45:27 UniFi-USG nextdns[3247]: Query 192.168.2.8 UDP A 0.debian.pool.ntp.org. (qry=39/res=12) 5607ms : doh resolve: context deadline exceeded
    Feb 26 13:45:27 UniFi-USG nextdns[3247]: Query 127.0.0.1 UDP A ping.ubnt.com. (qry=31/res=12) 11980ms : doh resolve: context deadline exceeded
    
      • Daniel.2
      • 3 yrs ago
      • Reported - view

      And a bunch more recent ones. I've uninstalled the service for now until there's a resolution.

    • saffron_spring
    • 3 yrs ago
    • Reported - view

    Similar issues yesterday, DNS failed to resolve for a few minutes.

Content aside

  • 3 yrs agoLast active
  • 3Replies
  • 377Views
  • 2 Following