liunx DNS
来源:互联网 发布:java tempfile 编辑:程序博客网 时间:2024/05/21 11:33
问题:liunx服务器 可以通过IP ping 通外网,但是通过无名是无法访问的。
解决方法:dns负责的是域名解析 将 域名解析指向对应的ip
编辑 /etc/resolv.conf
添加nameserver
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
search localdomain
nameserver 210.87.141.250
0 0
- liunx DNS
- Liunx 配置dns
- liunx的dns配置
- liunx下修改ip和dns
- Liunx修改IP地址和DNS
- liunx $
- LIUNX
- liunx
- liunx
- Liunx
- DNS
- dns
- dns
- DNS
- DNS
- DNS
- DNS
- DNS
- WINCE的体系结构
- Qt中几种延时方法
- USB摄像头在TQ2440或TINY6410上帧速慢的真正原因
- sed
- 书籍
- liunx DNS
- Effective STL
- 应用与rac的连接
- 弗洛伊德算法计算所有顶点对之间最短通路的长度
- Linux进程切换以及内核线程的返回值
- Effective STL 读书笔记
- Android开发布局
- javascript 实现MD5加密
- android 调用 webService