Linux在局域网如何通过hostname获取其ip

只需要hostname固定,就可以在局域网通过ping hostname.local来获取其ip

原文地址:https://www.cnblogs.com/breakering/p/9759325.html