ВВЕДЕНИЕ В СИСТЕМНОЕ АДМИНИСТРИРОВАНИЕ UNIX. Solaris 2.5



         

Конфигурирование DNS-сервера


/etc/named.boot

; домен fedfond.msk.su IP-сеть - 128.8.2

;

; boot file for name server

;

directory /var/named

cache . named.root

; type domain source host/file backup file

primary fedfond.msk.su fedfond.msk.su.hosts

primary 0.0.127.in-addr.arpa named.local

primary 2.8.128.in-addr.arpa 2.8.128.hosts.rev

----------------

; local dns file named.local 0.0.127.in-addr.arpa

;

@ IN SOA fedfond1.fedfond.msk.su. moshkow.fedfond.msk.su. (

94092101; Serial

10800; Refresh

1800; Retry

3600000; Expire

86400 ); Minimum

IN NS fedfond1.fedfond.msk.su.

1 IN PTR localhost.

===========================

; fedfond.msk.su zone hosts file for server fedfond1.fedfond.msk.su

;

@ IN SOA fedfond1.fedfond.msk.su. moshkow.fedfond1.fedfond.su. (

94092501; Serial

10800; Refresh

1800; Retry

3600000; Expire

86400 ); Minimum

NS fedfond1.fedfond.msk.su.

NS ipsun.ac.msk.su.

;

MX 0 fedfond1.fedfond.msk.su.

MX 20 ipsun.ac.msk.su.

MX 30 mailhost.cs.msu.su.

MX 40 mail.gmd.de.

MX 50 sunic.sunet.se.

; localhost A 127.0.0.1

$INCLUDE /var/named/fedfond-hosts-spisok

----------------

; Hosts in fedfond.msk.su zone

mailrelay CNAME fedfond1

mailhost CNAME fedfond1

mailserver CNAME fedfond1

newshost CNAME fedfond1

ftp CNAME fedfond1

www CNAME fedfond1

gopher CNAME fedfond1

master CNAME fedfond1

server CNAME fedfond1

;

; Host fedfond1

;

fedfond1 A 128.8.2.1

MX 0 mailrelay

HINFO Motorola88110 "SVR4.1/88"

WKS 128.8.2.1 UDP ( time domain name )

WKS 128.8.2.1 TCP ( echo telnet discard




Содержание  Назад  Вперед