[Bug 1888047] Re: libnss-mdns slow response
Rumen
1888047 at bugs.launchpad.net
Mon Jul 20 07:22:04 UTC 2020
Hi, here is the information you need. By the way today the timeouts are
much worse but still multiple of 5s...
rumen at sirius:~/indigo_imager.git$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
rumen at sirius:~/indigo_imager.git$ dpkg -l libnss-mdns
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=================-===============-============-============================================
ii libnss-mdns:amd64 0.14.1-1ubuntu1 amd64 NSS module for Multicast DNS name resolution
rumen at sirius:~/indigo_imager.git$ systemctl status avahi-daemon
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2020-07-20 09:44:01 EEST; 18min ago
TriggeredBy: ● avahi-daemon.socket
Main PID: 859 (avahi-daemon)
Status: "avahi-daemon 0.7 starting up."
Tasks: 2 (limit: 9117)
Memory: 1.9M
CGroup: /system.slice/avahi-daemon.service
├─859 avahi-daemon: running [sirius.local]
└─914 avahi-daemon: chroot helper
юли 20 09:47:45 sirius avahi-daemon[859]: Interface wlp3s0.IPv4 no longer relevant for mDNS.
юли 20 09:47:45 sirius avahi-daemon[859]: Leaving mDNS multicast group on interface wlp3s0.IPv4 with address 192.168.235.82.
юли 20 09:47:45 sirius avahi-daemon[859]: Withdrawing address record for fe80::d3e:1b47:1c0a:cc03 on wlp3s0.
юли 20 09:47:45 sirius avahi-daemon[859]: Withdrawing address record for 192.168.235.82 on wlp3s0.
юли 20 09:51:18 sirius avahi-daemon[859]: Joining mDNS multicast group on interface wlp3s0.IPv6 with address fe80::d3e:1b47:1c0a:cc03.
юли 20 09:51:18 sirius avahi-daemon[859]: New relevant interface wlp3s0.IPv6 for mDNS.
юли 20 09:51:18 sirius avahi-daemon[859]: Registering new address record for fe80::d3e:1b47:1c0a:cc03 on wlp3s0.*.
юли 20 09:51:18 sirius avahi-daemon[859]: Joining mDNS multicast group on interface wlp3s0.IPv4 with address 192.168.235.82.
юли 20 09:51:18 sirius avahi-daemon[859]: New relevant interface wlp3s0.IPv4 for mDNS.
юли 20 09:51:18 sirius avahi-daemon[859]: Registering new address record for 192.168.235.82 on wlp3s0.IPv4.
rumen at sirius:~/indigo_imager.git$ time getent hosts indigosky.local
192.168.235.1 indigosky.local
real 0m20,132s
user 0m0,000s
sys 0m0,005s
rumen at sirius:~/indigo_imager.git$ time nslookup indigosky.local
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: indigosky.local
Address: 127.0.1.1
;; connection timed out; no servers could be reached
real 0m15,015s
user 0m0,014s
sys 0m0,005s
rumen at sirius:~/indigo_imager.git$ time ping -c1 192.168.235.1
PING 192.168.235.1 (192.168.235.1) 56(84) bytes of data.
64 bytes from 192.168.235.1: icmp_seq=1 ttl=64 time=1.59 ms
--- 192.168.235.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.585/1.585/1.585/0.000 ms
real 0m0,006s
user 0m0,004s
sys 0m0,001s
rumen at sirius:~/indigo_imager.git$ time ping -c1 indigosky.local
PING indigosky.local (192.168.235.1) 56(84) bytes of data.
64 bytes from _gateway (192.168.235.1): icmp_seq=1 ttl=64 time=1.94 ms
--- indigosky.local ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.936/1.936/1.936/0.000 ms
real 0m10,051s
user 0m0,006s
sys 0m0,000s
rumen at sirius:~/indigo_imager.git$ systemd-resolve --status --no-pager
Global
LLMNR setting: no
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
DNSSEC NTA: 10.in-addr.arpa
16.172.in-addr.arpa
168.192.in-addr.arpa
17.172.in-addr.arpa
18.172.in-addr.arpa
19.172.in-addr.arpa
20.172.in-addr.arpa
21.172.in-addr.arpa
22.172.in-addr.arpa
23.172.in-addr.arpa
24.172.in-addr.arpa
25.172.in-addr.arpa
26.172.in-addr.arpa
27.172.in-addr.arpa
28.172.in-addr.arpa
29.172.in-addr.arpa
30.172.in-addr.arpa
31.172.in-addr.arpa
corp
d.f.ip6.arpa
home
internal
intranet
lan
local
private
test
Link 4 (docker0)
Current Scopes: none
DefaultRoute setting: no
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
Link 3 (wlp3s0)
Current Scopes: DNS
DefaultRoute setting: yes
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
Current DNS Server: 192.168.235.1
DNS Servers: 192.168.235.1
DNS Domain: ~.
Link 2 (enp0s25)
Current Scopes: none
DefaultRoute setting: no
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
rumen at sirius:~/indigo_imager.git$ cat /etc/systemd/resolved.conf
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See resolved.conf(5) for details
[Resolve]
#DNS=
#FallbackDNS=
#Domains=
#LLMNR=no
#MulticastDNS=no
#DNSSEC=no
#DNSOverTLS=no
#Cache=yes
#DNSStubListener=yes
#ReadEtcHosts=yes
rumen at sirius:~/indigo_imager.git$
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nss-mdns in Ubuntu.
https://bugs.launchpad.net/bugs/1888047
Title:
libnss-mdns slow response
Status in nss-mdns package in Ubuntu:
New
Bug description:
mdns responses are very slow which degrades the preformance of some
services in my lan due to this long delay. Please see the log below:
rumen at sirius:~/indigo.git$ time nslookup sirius.local
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: sirius.local
Address: 192.168.11.109
Name: sirius.local
Address: 172.17.0.1
Name: sirius.local
Address: fe80::7afb:484a:7307:cf6
real 0m5,224s
user 0m0,008s
sys 0m0,008s
rumen at sirius:~/indigo.git$ time nslookup dir.bg
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: dir.bg
Address: 194.145.63.12
real 0m0,035s
user 0m0,012s
sys 0m0,006s
rumen at sirius:~/indigo.git$ cat /etc/resolv.conf
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.
nameserver 127.0.0.53
options edns0
search www.tendawifi.com
rumen at sirius:~/indigo.git$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: files systemd
group: files systemd
shadow: files
gshadow: files
hosts: files mdns4_minimal [NOTFOUND=return] dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
rumen at sirius:~/indigo.git$
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nss-mdns/+bug/1888047/+subscriptions
More information about the foundations-bugs
mailing list