# 1st Solution: Fix the bug in Debian Avahi-daemon
sudo vim /etc/nsswitch.conf
# change hosts from files mdns4_minimal [NOTFOUND=return] dns to following
hosts: files dns
# save and restart
# 2nd Solution: Disable IPv6 support
sudo su
echo "#disable ipv6" >> /etc/sysctl.conf
echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.conf
echo "net.ipv6.conf.default.disable_ipv6 = 1" >> /etc/sysctl.conf
echo "net.ipv6.conf.lo.disable_ipv6 = 1" >> /etc/sysctl.conf
# Restart the computer