sco openserver的DNS和DHCP的配置

SCO OpenServer 5.0.5不仅具操作方便的图形界面,相对于5.0.4版而言还增加了DHCP的功能。现在的5.0.5版已具有Web服务、FTP服务、E-mail服务、DNS、虚拟域名、DHCP等多项功能,以其为基础构筑一个Intranet平台已是非常方便的事情,下面就介绍其DNS和DHCP的配置。

一、 DNS的配置文件

SCO OpenServer 5.0.5中DNS的配置有几种情况,比较常用的是配置成主名字服务器。
配置主名字服务器需要一整套文件,包括/etc/named.boot, /etc/named.d/named.rev, /etc/named.d/named.hosts, /etc/named.d/named.local, /etc/named.d/named.soa, /etc/named.d /root.cache等6个文件。
守护进程named激活后,named查找并阅读/etc/named.boot文件,/etc/named.boot文件将named指向DNS信息源。/etc/named.boot文件中有一项“directory”记录,告诉named由named引用的文件--root.cache, named.rev,named.hosts,named.local,named.soa位于哪一个目录中。在SCO OpenServer 5.0.5中,通常directory记录为/etc/named.d,在/etc/named.d目录中,上述5个文件已经存在了,用户可根据实际情况利用文本编辑器对它们进行修改配置。
SCO OpenServer 5.0.5中配置主名字服务器的步骤如下:
1.以root 身份登录进入系统
2.创建/etc/named.boot文件
该文件原在/etc目录下并不存在,需用户自己利用文本编辑器创建,这是DNS的一个引导文件。
3.配置已有的/etc/named.d/named.soa文件
这个文件主要是配置一些SOA记录,NS记录,SOA记录定义一个区的数据的开头,定义影响整个区的参数,NS记录标志一个域的名字服务器。
4.配置已有的/etc/named.d/named.hosts文件
该文件包含了大部分的域信息,它可以将主机名转换成IP地址,主要包含A记录,另外还可能包含一些MX,CNAME和其它记录。在named.hosts文件中,在这个域中的每个主机都应该有一个A记录,另外还应该有一个针对本机即localhost的A记录。
5.配置已有的 /etc/named.d/named.rev文件
该文件用于通过IP地址查找主机名。在named.rev文件中只需创建带有IP地址的主机部分以及相配名字的记录。通常情况下,PTR记录是named.rev文件中唯一的一种记录。
6.配置已有的/etc/named.d/named.local文件

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
SCO UnixWare 7.x Introduction: ------------- This document describes the procedure to install the SCO UnixWare 7 driver for 10/100M PCI Fast Ethernet Adapter. Location of Driver: \uw7\rtspkg.tar Installing driver procedure on SCO UnixWare7 : ----------------------------------------- Before you start with the installation process, make sure that the SCO UNIX system is properly installed. Similarly, your adapter should also be properly installed in your machine. 1. Installation Diskette in DOS format. Put RTL SCO UnixWare Driver diskette to floppy A: and use doscp command to copy RTL SCO UnixWare Driver into UNIX's directories. NOTE: In UnixWare 7.1.1, you must install the "mtools" package included within the OS and use "mcopy" instead of "doscp". # cd / # doscp A:uw7/rtspkg.tar /tmp 2. Run 'tar' utility to extract the driver. # cd /tmp # tar -xvf rtspkg.tar 3. Run 'pkgadd' utility to add the driver software to system. # pkgadd -d /tmp/pkg => Select "RTL8139" to add the driver package to the system. => quit 4. Use 'scoadmin' utility to add adapters. # scoadmin => Select "Networking" item from the item list and press enter. => Select "Network Configuration Manager" item from the item list and press enter. => Select "Add New Lan Adapter" menu item from "Hardware". => Select the Realtek RTL8139C+/8139/810x item from the item list. => Add protocol(s) to the adapter. 5. Return to the command prompt. 6. Shutdown the system and reboot. NOTE: 1. If you want to install more than one network adapter, you should do the 4th, 5th, 6th steps above for each network card separately. 2. This driver can support up to four network adapters.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值