dnsmasq wont resolve dns
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-
# cat /etc/dnsmasq-
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:
google.com mail is handled by 10 aspmx.l.google.com.
google.com mail is handled by 40 alt3.aspmx.
google.com mail is handled by 30 alt2.aspmx.
google.com mail is handled by 20 alt1.aspmx.
google.com mail is handled by 50 alt4.aspmx.
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]
ProcVersionSign
Uname: Linux 5.8.0-36-generic x86_64
ApportVersion: 2.20.11-0ubuntu57
Architecture: amd64
CasperMD5CheckR
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)
PackageArchitec
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.
mtime.conffile.