Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[软技能] 第88天 说说你对hosts文件的理解,它都有哪些作用? #610

Open
haizhilin2013 opened this issue Jul 12, 2019 · 3 comments
Labels
软技能 软技能

Comments

@haizhilin2013
Copy link
Collaborator

第88天 说说你对hosts文件的理解,它都有哪些作用?

@haizhilin2013 haizhilin2013 added the 软技能 软技能 label Jul 12, 2019
@ghost
Copy link

ghost commented Jul 13, 2019

hosts 文件可以将名称映射到 IP 地址。在本机上所有对这个名称的访问相当于对它被映射到的 IP 地址的访问。可以说它起到了简易的本地 DNS 的作用。

@kruzabc
Copy link

kruzabc commented Jan 8, 2020

1、加快域名解析。 匹配后不再去DNS服务器查询。
2、自定义域名解析。 可以根据自己的需要来配置。

@smile-2008
Copy link

hosts 文件可以将名称映射到 IP 地址。在本机上所有对这个名称的访问相当于对它被映射到的 IP 地址的访问。可以说它起到了简易的本地 DNS 的作用。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
软技能 软技能
Projects
None yet
Development

No branches or pull requests

3 participants