BBS水木清华站∶精华区

发信人: staw ( 水中鸥), 信区: Unix        
 
  Server or Client? 
 
  if Server 
    
     /etc/named.boot 
 
     if directory==/var/named/ 
 
       /var/named/named.ca;*.domain;*.domain.rev;root.cache;named.local..... 
 
  if Client 
 
    /etc/resolv.conf;/etc/nsswitch.conf 
 
  try! 
【 在 never98 (《燃情岁月》) 的大作中提到: 】 
 rt 
 
 
 
 
发信人: ghostII (☆【午夜幽灵】☆), 信区: Unix        
 
/etc/resolv.conf 
domain aa.bb.cc 
nameserver xxx.xxx.xxx.xxx 
 
/etc/nsswitch.conf 
hosts:      files       dns 
                       ^^^^append this 
 
【 在 atmel (蚊子真讨厌) 的大作中提到: 】 
 solaris的DNS如何设置? 
 谢谢了先! 
 
 
 
 
发信人: deerLi (deer), 信区: Unix        
 
vi /etc/defaultrouter 
add "<your gateway's IP"> in this file 
save this file 
 
vi /etc/resolv.conf 
add "nameserver <your DNS's IP>" in 
save 
 
reboot 
OK 
 
 
【 在 hzshan (Danny) 的大作中提到: 】 
 rt,duoxie 
 
 
 
 
发信人: xxiao (xiao xiao), 信区: Unix        
 
/etc/defaultrouter 
【 在 squirrel (squirrel) 的大作中提到: 】 
 用什么命令? 
 还是更改什么文件? 
 
 
 
 
发信人: watercloud (水云), 信区: Unix        
 
cat >/etc/defaultrouter 
your_router_IP 
 
^D 
 
或 
#route add default router_ip 
 
【 在 squirrel (squirrel) 的大作中提到: 】 
 用什么命令? 
 还是更改什么文件? 
 
 
 
 

BBS水木清华站∶精华区