[Bug 1888047] Re: libnss-mdns slow response

Rumen 1888047 at bugs.launchpad.net
Wed Jul 22 06:54:02 UTC 2020


Here is the output, it does not work again even with the new config i am
totally confused:

rumen at sirius:~$ time getent hosts indigosky.local
192.168.235.1   indigosky.local

real	0m10,121s
user	0m0,004s
sys	0m0,000s
rumen at sirius:~$ time host indigosky.local
indigosky.local has address 127.0.1.1
;; connection timed out; no servers could be reached

;; connection timed out; no servers could be reached


real	0m20,013s
user	0m0,014s
sys	0m0,005s
rumen at sirius:~$ 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,012s
user	0m0,011s
sys	0m0,007s
rumen at sirius:~$ time nslookup indigosky.local 192.168.235.1
Server:		192.168.235.1
Address:	192.168.235.1#53

Name:	indigosky.local
Address: 127.0.1.1
** server can't find indigosky.local: REFUSED


real	0m0,019s
user	0m0,012s
sys	0m0,004s
rumen at sirius:~$ 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 [NOTFOUND=return] dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis
rumen at sirius:~$ cat /etc/mdns.allow 
.local.
.local

-- 
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