Public bug reported:

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

** Affects: dnsmasq (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug hirsute third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1915748

Title:
  dnsmasq wont resolve dns

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1915748/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to