- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
hosts域名解析文件(Hosts domain name resolution file)
hosts域名解析文件(Hosts domain name resolution file)
/etc/host.conf file:
This file specifies how to resolve the host name. Linux gets the IP address corresponding to the host name through the resolver library. Here is an example of /etc/host.conf:
Order, bind, hosts
Multi on
Ospoof on
Order, bind, hosts specifies the host name query order, where DNS is first used to resolve the domain name, and then query the /etc/hosts file (which can also be reversed).
Multi on specifies whether the host specified in the /etc/hosts file can have multiple addresses, and hosts with multiple IP addresses are generally referred to as multi homed hosts.
Nospoof on means that IP address spoofing is not allowed on this server. IP spoofing is a means of attacking system security by acquiring IP addresses disguised as other computers to gain trust from other computers.
/etc/sysconfig/network file
This file is used to specify network configuration information on the server, and here is an example:
NETWORK=yes
RORWARD_IPV4=yes
HOSTNAME=
GAREWAY=
GATEWAYDEV=
Is the NETWORK=yes/no network configured?;
Does FORWARD_IPV4=yes/no open the IP forwarding function?
HOSTNAME=hostname hostname indicates the hostname of the server
GAREWAY=gw-ip gw-ip stands for the IP address of the network gateway
GAREWAYDEV=gw-dev gw-dw indicates the device name of the gateway, such as etho, etc.
Note: to be compatible with older software,
The /etc/HOSTNAME file should use the same hostname as the HOSTNAME=hostname.
Etc/hosts file
When the machine starts, before you can query DNS, the machine needs to query the matching of some host names to IP addresses. These matching information is stored in the /etc/hosts file. In the absence of domain name servers, all network programs on the system query the file to resolve the IP address corresponding to a host name.
Here is an example of a /etc/hosts file:
IP Address Hostname Alias
Localhost G
Gate
.................................
The leftmost column is the host IP information,
您可能关注的文档
- 5常见损伤处理(5 common damage treatment).doc
- 5个方法分析seo中网站关键词竞争力(5 ways to analyze SEO keyword competition in the web site).doc
- 5月15日 《清十二帝疑案(一)努尔哈赤》 阎崇年.shtml(In May 15th twelve Qing emperor Nur Ha Che mystery (a) Yan Chong.Shtml).doc
- 5险1金.jpg(5 risk 1 gold.Jpg).doc
- 6 把工作当作游戏(6 work as a game).doc
- 6.小额贷款公司贷款五级分类实施细则(6. small loan company loan classification five implementation rules).doc
- 600个考点要好好记忆,职考必过·(600 test sites to remember well, duty test will pass!).doc
- 59秒心理学小结(Psychological summary of 59 seconds).doc
- 5第五章 先心病之asd vsd pda(5第五章 先心病之asd vsd pda).doc
- 6-氨基己酸(6- amino caproic acid).doc
最近下载
- (高清版)-B-T 34590.9-2022 道路车辆 功能安全 第9部分:以汽车安全完整性等级为导向和以安全为导向的分析.pdf VIP
- 2025至2030年中国智慧港口行业市场调查分析及投资发展潜力报告.docx
- 预制菜生产参考卫生规范.doc VIP
- 三年级劳动技术浙教版下册:任务二 煮鸡蛋 蒸馒头-教学课件.pptx
- 预制菜生产加工卫生规范.pdf VIP
- 2025下半年中储粮油脂有限公司招聘笔试历年参考题库附带答案详解(10卷合集).docx
- 《短歌行》《归园田居(其一)》课内知识训练(含答案).docx VIP
- 选择性背根神经节阻滞术治疗急性带状疱疹神经痛的疗效观察.doc VIP
- (建筑工程管理)砌砖及基础工程技术交底.pdf VIP
- (高清版)-B-T 34590.10-2022 道路车辆 功能安全 第10部分:指南.pdf VIP
文档评论(0)