国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Solaris > 正文

Solaris網絡管理培訓(第四章:DNS客戶端的設置)

2024-07-26 00:29:52
字體:
來源:轉載
供稿:網友

 /etc/resolv.conf文件 
記錄DNS服務器的地址和域名 
關鍵字: 
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: 

# An example file that could be copied over to /etc/nsswitch.conf; it uses 
# DNS 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 name 
# server lookup.  See resolv.conf(4). 
hosts:      files dns 
ipnodes:    files 
… 
… 

將這個文件的hosts記錄配置成hosts:      files dns 

nslookup命令 
用于查詢DNS服務器 
用于驗證客戶端的設置 
用于下載DNS數據庫 

# 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缺省地以本地服務器為目標。響應中包括目標服務器的名字和地址。>是提示符,這意味著可以開始發送名字服務詢問或配置。 

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 禹州市| 五河县| 安多县| 屏边| 温泉县| 温州市| 台前县| 东城区| 五指山市| 遂川县| 轮台县| 上虞市| 庄浪县| 辉县市| 定陶县| 台湾省| 阜南县| 江门市| 长垣县| 通州市| 启东市| 盐城市| 将乐县| 吉林市| 荔波县| 肇州县| 武宣县| 沾益县| 古浪县| 塘沽区| 化德县| 葫芦岛市| 东城区| 鄂温| 台江县| 滨州市| 民勤县| 安达市| 南陵县| 连城县| 丹东市|