And here is the output with the default config:

# 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@sirius:~$ time getent hosts indigosky.local
192.168.235.1   indigosky.local

real    0m20,151s
user    0m0,006s
sys     0m0,000s
rumen@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,016s
user    0m0,012s
sys     0m0,008s
rumen@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,019s
user    0m0,013s
sys     0m0,008s
rumen@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,018s
user    0m0,008s
sys     0m0,008s
rumen@sirius:~$

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

Title:
  libnss-mdns slow response

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nss-mdns/+bug/1888047/+subscriptions

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

Reply via email to