修改dns:vim /etc/resolv.conf
修改host:vi /etc/hosts
再执行/etc/rc.d/init.d/named restart 使之生效
修改dns:vim /etc/resolv.conf
修改host:vi /etc/hosts
再执行/etc/rc.d/init.d/named restart 使之生效
一般情况下,这个文件的修改权限都是在root用户下。输入命令i,进入编辑模式。
【代码】【Linux】linux|修改dns|修改网卡dns。
1、介绍netmask netmaks可以在 IP范围、子网掩码、cidr、cisco等格式中互相转换,并且提供
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M