📜  linux 主机文件 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:03.278000             🧑  作者: Mango

代码示例1
All operating systems with network support have a hosts file to translate
hostnames to IP addresses.

In linux OSs the file is located in /etc/hosts.
This is (sort of) like a DNS cache at the OS level.