Solaris网络管理:DNS客户端的设置
2005-04-04 01:41
721 查看
/etc/resolv.conf文件 记录DNS[/b]服务器的地址和域名 关键字: domainname nameserver # more /etc/resolv.conf nameserver 172.16.255.3 domainname sunrise.com.cn /etc/nsswitch.conf文件 记录主机名的搜索顺序等信息 # more /etc/nsswitch.conf # # /etc/nsswitch.dns[/b]: # # An example file that could be copied over to /etc/nsswitch.conf; it uses # DNS[/b] for hosts lookups, otherwise it does not use any other naming service. # # hosts: and services: in this file are used only if the # /etc/netconfig file has a - for nametoaddr_libs of inet transports. passwd: files group: files # You must also set up the /etc/resolv.conf file for DNS[/b] name # server lookup. See resolv.conf(4). hosts: files dns[/b] ipnodes: files … … 将这个文件的hosts记录配置成hosts: files dns[/b] nslookup命令 用于查询DNS[/b]服务器 用于验证客户端的设置[/b] 用于下载DNS[/b]数据库 # nslookup Default Server: ns.zjhzptt.net.cn Address: 202.96.96.68 > www.sun.com Server: ns.zjhzptt.net.cn Address: 202.96.96.68 Non-authoritative answer: Name: www.sun.com Address: 192.18.97.241 > 启动时,nslookup缺省地以本地服务器为目标。响应中包括目标服务器的名字和地址。>是提示符,这意味着可以开始发送名字服务询问或配置。 |
相关文章推荐
- 运维学习之网络管理&IP设置&网关、DNS、DHCP的设置
- 设置solaris主机为DNS客户端
- Solaris管理(Day 1) - 网络设置
- 网络命令及DNS服务客户端的配置
- 在HP-UX中设置DNS客户端
- CentOS 网络设置修改 指定IP地址 DNS 网关
- CentOS 网络设置修改 指定IP地址 DNS 网关(实测 笔记)
- 在solaris 10 中网络及远程登录相关设置
- linux基础(十一)管理网络、配置ip、网关、DNS、DHCP简单使用
- CentOS 设置网络(修改IP&修改网关&修改DNS)
- Linux 修改IP地址 服务器名称 和 DNS网络设置
- RedHat Linux AS 5.3 下DNS的配置步骤----为学习Oracle网络管理埋下伏笔
- solaris网络管理基础培训
- 从Linux到Solaris(系统管理,设置管理)
- cPanel网络磁盘的设置与管理
- Linux网络管理之八:DNS配置
- CentOS6 网络管理之网卡配置及简单路由设置 推荐
- CentOS 6 网络设置修改 指定IP地址 DNS 网关
- 如何设置华为交换机,使其可以通过WEB管理网络设备
- [转]命令行修改网络设置ip地址、dns、网关的方法(windows)