Working desktop has just been migrated to Ubuntu. It is a strange problem that Ubuntu can resolve the Internet normally, but it cannot resolve the Intranet domain name (the domain name ending with. local ). The following describes how to solve the problem. 1. Since I installed XP on Ubuntu, the Intranet domain name can be resolved through the NAT network link on XP. 2. You can use the dig command in Ubuntu to resolve the domain name to the Intranet domain name. 3. You cannot ping the Intranet domain name. The above three points show that the Intranet DNS resolution is o
Working desktop has just been migrated to Ubuntu. It is a strange problem that Ubuntu can resolve the Internet normally, but it cannot resolve the Intranet domain name (the domain name ending with. local ). The following describes how to solve the problem.
Known phenomena are as follows:
1. Since I installed XP on Ubuntu, the Intranet domain name can be resolved through the NAT network link on XP.
2. Use the dig command in Ubuntu to resolve the domain name to the Intranet.
3. You cannot ping An Intranet domain name.
The above three points show that the Intranet DNS resolution is OK (the XP Virtual Machine can resolve the Intranet ). However, ping Intranet domain names on Ubuntu cannot be resolved, while dig can be resolved normally. Domain name resolution sequence: local hosts file resolution, DNS Server Resolution. It can be determined that the Ubuntu system is parsing domain name related records. We suspect that the domain name resolution may be hijacked by the system service. But I don't know how to get started, so I google the keyword Ubuntu local. Get the article http://www.linuxidc.com/Linux/2011-04/34433p2.htm
It may be related to avahi. What is avahi? Finally, Avahi is the implementation of zeroconf. It can discover zeroconf-based devices and services in a LAN without DNS services. It is the same as mDNS. Disable it unless you have compatible devices or services that use the zeroconf protocol.
Run ps-ef | grep avahi to check the file. This service is available. Use sudo service avahi-daemon stop to stop the service and ping the Intranet domain name.