免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3406 | 回复: 0
打印 上一主题 下一主题

[SCO UNIX] 关于SGI 的 DNS 基本配置交流 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-09-22 11:14 |只看该作者 |倒序浏览
希望对大家有帮助,水平有限难免有错请赐教。

六.SGI工作站Web站点配置     

1.SGI已申请到Internet 地址例如200.1.1.106 主机名为IRIS
2.Web 配置
a. IRIS # chkconfig   network  on
IRIS # cd  /etc
IRIS# jot    hosts
修改默认IP地址192.0.2.1 为 200.1.1.106 主机名IRIS , 同时加入本地所有子网域名服务器IP地址 .
IRIS#  jot   resolv.conf
(编辑新文件内容为如下domain除主机外部分,nameserver域名   服务器IP地址)
domain             group.sgi.com   
nameserver         200.1.1.106
       hostresorder        bind  local   
3.发布页面 /var/www/htdocs 目录 即连接在根下/public_html
default page    Index.html
              
七.DNS 系统配置图

1.localhost.rev
; localhost.rev  -- PTR record for 127.1
@ IN SOA IRIS.group.sgi.com. root.IRIS.group.sgi.com.  (
       1993090801     ; Serial
                               3600    ; Refresh
                               300     ; Retry
                               3600000 ; Expire
                               14400 )  ; Minimum
    IN            NS         IRIS.group.sgi.com.
0     IN             PTR   loopback.IRIS.group.sgi.com.
1     IN             PTR       localhost.

2.named.boot
;  boot file for authoritive master name server for Berkeley.EDU
; Note that there should be one primary entry for each SOA record.

sortlist 10.0.0.0
directory /var/named
; type              domain source host/file backup file
cache     . root.cache
primary   group.sgi.com named.hosts
primary   1.1.200 .IN-ADDR.ARPA named.rev
primary   0.0.127 .IN-ADDR.ARPA localhost.rev
  ( # 注意逆序也可不同网段产生named.rev1,named.rev2原named.rev无效 )

3. named.hosts
; Authoritative data for Berkeley.EDU (ORIGIN assumed Berkeley.EDU)
@ IN    SOA IRIS.group.sgi.com root.IRIS.group.sgi.com. (
               1986020501 ; Serial
               10800 ; Refresh 3 hours
               3600 ; Retry   1 hour
               3600000 ; Expire  1000 hours
                   86400 ) ; Minimum 24 hours
IN           MX    IRIS  10
     IN           NS    IRIS
localhost           IN      A          127.0.0.1

IRIS              IN       A           200.1.1.106
O2                IN      A           202.112.105.101
Pc1                IN      A           202.112.105.99
pc                 IN      A          202.112.105.2
  ( # 增加主机的名及IP 地址 )

4.named.rev
;@(#)named.rev 1.1 (Berkeley) 86/02/05
@           IN SOA IRIS.group.sgi.com. root.IRIS.group.sgi.com.  (
                1986020501 ; Serial
              10800 ; Refresh 3 hours
           3600 ; Retry   1 hour
           3600000 ; Expire  1000 hours
           86400 ) ; Minimum 24 hours
                  IN        NS IRIS.group.sgi.com.
; RFC1101 format for encoding network names:
;    Berkeley-net is the main network name, csdiv-net is a subnet name.
6         IN             PTR       IRIS.group.sgi.com.
1         IN            PTR     O2.group.sgi.com.

99       IN            PTR        pc1.group.sgi.com.
( # 要增加的机器IP 的最后1个字节( C 网段 )  对于B网段则是最后2 个字节逆序 )


注: 1. 用户增加的主机只需修改/named.hosts和named.rev 即可.
        2.修改后需执行/usr/sbin/named.restart

5.resolv.conf ( IRIS #  jot   /etc/resolv.conf )

domain         group.sgi.com     
域名( 除主机外的地址如group.sgi.com非IRIS. group.sgi.com )
nameserver      200.1.1.106   
域名服务器IP 地址
hostresorder      bind        local
6 . IRIS# ln   –s   /etc/resolv.conf   /usr/etc/resolv.conf
7. HTTP://localhostname:81  ( Netscape FastTrack server  )   
HTTP://localhostname:2077  ( Internet gateway )
注: a. IRIX6.5.4以后的版本端口由81为8182 ( Netscape FastTrack serve ),原Netscape FastTrack server守护程序放在 /usr/ns-home下,现在放在 /var/netscape/fsttrack下面.以上提供的仅是配置域名服务器DNS的基本用法,若涉及到Intenet高级应用及邮件服务等,请查相关详细资料.
原Fasttrack Server默认管理员帐户 (IRIX6.3,IRIX6.4,IRIX6.5.1 ):
                user: admin
                passwd: admin-add
现Fasttrack Server默认管理员帐户( IRIX6.5.4以后 )
                 user: admin
                 passwd: admin
8.发布页面 /var/www/htdocs 目录 即连接在根下/public_html     
                default page    Index.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP