20 quick tips to make Linux networking easier (6/20)

[复制链接]
Toolong 发表于 2020-2-19 15:22:44 | 显示全部楼层 |阅读模式
6: Hard-code your DNS server addresses
I don’t know how many times I have had networking problems that pointed directly at missing DNS server
addresses. To this end, I have made it a habit to hard-code my DNS servers into the /etc/resolv.conf file. The
format of the entries is:
nameserver IP_ADDRESS
where IP_ADDRESS is the actual address of your name server. You can have as many name servers listed as
you need.



上一篇:20 quick tips to make Linux networking easier (5/20)
下一篇:2020年2月20日签到记录贴

本版积分规则

QQ|Archiver|手机版|小黑屋|个人研发笔记 京ICP备18037383号-1

GMT+8, 2020-10-2 03:22

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表