Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seemingly randomly not responding to requests for a short period, then starts working again #7048

Open
4 tasks done
Edgeburn opened this issue Jun 1, 2024 · 0 comments
Open
4 tasks done

Comments

@Edgeburn
Copy link

Edgeburn commented Jun 1, 2024

Prerequisites

Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

Installation

Docker

Setup

On a router, DHCP is handled by the router

AdGuard Home version

v0.107.50

Action

DNS queries over plain DNS, DoH and DoT

Expected result

Consistent responses

Actual result

Seemingly random drops that last anywhere from a few seconds to a few minutes

Additional information and/or screenshots

I often see the following in the logs during the dropouts, with the first censored IP address being that of the server, and the second being that of the client. Note that it does not only occur in DNS over TLS, this just happened to be the excerpt I picked out of similar log entries.

handling tcp: reading msg: connection timed out; original error: reading len: read tcp *.*.*.*:853->*.*.*.*:50751: i/o timeout

I have tried changing the upstream DNS servers and this made no difference.

I also changed the network mode to host for the container in my docker compose (AdGuard Home section of which is below) and no longer putting it behind nginx-proxy-manager.

services:
    adguardhome:
        image: adguard/adguardhome
        container_name: adguardhome
        network_mode: host
        environment:
            TZ: America/Toronto
        volumes:
            - /home/edgeburnmedia/adguardhome/conf:/opt/adguardhome/conf
            - /home/edgeburnmedia/adguardhome/work:/opt/adguardhome/work
            - /home/edgeburnmedia/nginx-proxy-manager/letsencrypt:/etc/letsencrypt
        # ports:
            # # DNS
            # - 53:53
            # # DHCP server
            # # - 67:67/udp
            # # - 68:68/udp
            # # HTTPS/DNS-over-HTTPS
            # - 443:443/tcp
            # # DNS-over-TLS
            # - 853:853/tcp
            # # DNS-over-QUIC
            # - 853:853/udp
            # # DNSCrypt
            # - 5443:5443/tcp
            # - 5443:5443/udp
            # # WebUI
            # - 3000:3000/tcp
        restart: unless-stopped

Full logs are available at the following gist: https://gist.github.com/Edgeburn/e10e360a264240bc1cf5ac2717af1819

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant