Skip to content

DNS proxy is very slow #54

Description

@ohthehugemanatee

Ubuntu 17.04, but I also had the problem on 16.04 .

The DNS proxy is very slow resolving external hostnames.

 time nslookup google.com 127.0.0.1
Server:		127.0.0.1
Address:	127.0.0.1#53

Non-authoritative answer:
Name:	google.com
Address: 172.217.18.110

nslookup google.com 127.0.0.1  0,01s user 0,01s system 0% cpu 4,033 total

4 seconds is a long time to wait for your primary nameserver. Cached requests and .dork.io requests are served quickly, it's only external requests that have this problem. I enabled logging on the container, and got

 dnsmasq[1]: started, version 2.75 cachesize 150
 dnsmasq[1]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect inotify
 dnsmasq[1]: reading /etc/resolv.conf
 dnsmasq[1]: using nameserver 127.0.0.11#53
 dnsmasq[1]: read /etc/hosts - 8 addresses

No additional logs are printed during resolution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions