dnsmasq wont resolve dns

Bug #1915748 reported by Thomas Schweikle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dnsmasq (Ubuntu)
New
Undecided
Unassigned

Bug Description

dnsmasq ist set up to resolve DNS names with a local, static file given at /etc/dnsmasq-resolv.conf:
# cat /etc/dnsmasq-resolv.conf
nameserver 10.161.18.34
nameserver 10.177.18.34
nameserver 10.129.90.10
nameserver 10.160.90.10
nameserver 10.161.90.10
search <search1> <search2> <search3>

All servers given can be reached:
# host google.com 10.161.18.34
Using domain server:
Name: 10.161.18.34
Address: 10.161.18.34#53
Aliases:

google.com has address 216.58.213.238
google.com has IPv6 address 2a00:1450:4005:80a::200e
google.com mail is handled by 10 aspmx.l.google.com.
google.com mail is handled by 40 alt3.aspmx.l.google.com.
google.com mail is handled by 30 alt2.aspmx.l.google.com.
google.com mail is handled by 20 alt1.aspmx.l.google.com.
google.com mail is handled by 50 alt4.aspmx.l.google.com.

Within /etc/resolv.conf:
nameserver 127.0.0.1
search <search1> <search2> <search3>

trying to resolve a name using local bound dnsmasq on any of the bound addresses:
dnsmasq 24106 dnsmasq 6u IPv4 184802 0t0 UDP 172.18.8.1:53
dnsmasq 24106 dnsmasq 7u IPv4 184803 0t0 TCP 172.18.8.1:53 (LISTEN)
dnsmasq 24106 dnsmasq 9u IPv4 184805 0t0 UDP 172.18.2.1:53
dnsmasq 24106 dnsmasq 10u IPv4 184806 0t0 TCP 172.18.2.1:53 (LISTEN)
dnsmasq 24106 dnsmasq 12u IPv4 184808 0t0 UDP 172.18.1.1:53
dnsmasq 24106 dnsmasq 13u IPv4 184809 0t0 TCP 172.18.1.1:53 (LISTEN)
dnsmasq 24106 dnsmasq 15u IPv4 184811 0t0 UDP 127.0.0.1:53
dnsmasq 24106 dnsmasq 16u IPv4 184812 0t0 TCP 127.0.0.1:53 (LISTEN)

# host google.com 127.0.0.1
;; connection timed out; no servers could be reached

# host google.com 172.18.8.1
;; connection timed out; no servers could be reached

# host google.com 172.18.1.1
;; connection timed out; no servers could be reached

# host google.com 172.18.2.1
;; connection timed out; no servers could be reached

Names wont be resolved.

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: dnsmasq 2.82-1ubuntu2 [modified: etc/dnsmasq.conf]
ProcVersionSignature: Ubuntu 5.8.0-36.40+21.04.1-generic 5.8.18
Uname: Linux 5.8.0-36-generic x86_64
ApportVersion: 2.20.11-0ubuntu57
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Mon Feb 15 19:31:14 2021
InstallationDate: Installed on 2014-01-31 (2572 days ago)
InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release amd64 (20131016)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: dnsmasq
UpgradeStatus: Upgraded to hirsute on 2018-11-23 (815 days ago)
mtime.conffile..etc.default.dnsmasq: 2014-02-19T17:19:28.429595
mtime.conffile..etc.dnsmasq.conf: 2021-02-15T18:38:52.895027

Revision history for this message
Thomas Schweikle (tps) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.