国产探花免费观看_亚洲丰满少妇自慰呻吟_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缺省地以本地服務器為目標。響應中包括目標服務器的名字和地址。>是提示符,這意味著可以開始發送名字服務詢問或配置。 

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 定西市| 洪江市| 南雄市| 南皮县| 昌都县| 漠河县| 苍南县| 南安市| 和林格尔县| 丰都县| 西华县| 页游| 神木县| 洛扎县| 石城县| 成都市| 龙陵县| 呼和浩特市| 内江市| 京山县| 拉萨市| 舒城县| 浦城县| 读书| 印江| 化隆| 肃南| 会宁县| 疏勒县| 大关县| 射阳县| 和田县| 林州市| 清苑县| 黔南| 搜索| 甘泉县| 黄龙县| 织金县| 札达县| 邵阳县|