• CM49 - ��� ����p���� DNS?

    From FAQServer@2:5020/181 to All on Thu Jun 5 07:37:08 2025
    [Q]: ��� ����p���� DNS?

    [A]: Ruslan Zalata (2:5077/7)

    �������� ���䨣yp�樨 Domain Name Server'� �����/����� �⠭��p⨧�p����� � ���p���� ���ᠭ� � RFC 1034/1035.
    � �p��⥩襬 �y砥, ��� ���䨣yp��� DNS p�ᯮ�������� � �����⠫��� ETC\NAMEDB\
    � ᮤ�p����� � ���p�� 䠩���: NAMED.BT (Boot file), NAMED.CA (cache file), NAMED.DOM (���� �pאַ� ���⨦����� � ���ᠭ�� ��⮢) � NAMED.REV (���� ��p�⭮�
    ���⨦�����).

    ���ᬮ�p�� ����� �� ��� ������� �� ���p�����:

    === Cut ===
    ;
    ; NAMED.BT file for name server configuration.
    ;
    ; type domain source file or host
    ;
    ; ����� �⬥���, �� �� ᨬ���� '\' � �y� 䠩��� ����室��� �������� �� '\\' ;
    cache . c:\\mptn\\etc\\namedb\\named.ca
    ; �y�� � ���-䠩�y.
    ;
    ; �⨬� ��y�� ��p����� ����뢠���� ��� DNS. � ������ �y砥 ������� � ���y, �� ; y ��� � ����砥 ���� �����⢥��� (primary) �p��p. �᫨ � �� ������� �py���
    ; �p��p� ����, � �� ����� ������ ������� ��p����, ������� primary �� secondary
    ; ����� ⮣�, ��� �p��p ⠪ �� ����� ���� y����� ��� secondary. ���p������ � RFC
    ;
    primary domain.com c:\\mptn\\etc\\namedb\\named.dom
    ; ^^^^^^^^^^ ��� ������. ���� �pאַ� ���⨦����� ^^^^^^^^^
    ;
    ;
    primary 1.1.128.in-addr.arpa c:\\mptn\\etc\\namedb\\named.rev
    ; ^^^^^^^ ���� ��p�⭮� ���⨦����� ^^^^^
    ; |
    ; +-- ��p�� �� � ��p�⭮� ��p浪�. ������, �᫨ ��p�� �� ����� ���: ; 128.1.1.0, �� ����� ����室��� �p������: 1.1.128.in-addr.arpa
    ;
    ;
    === Cut ===


    === Cut ===
    ;
    ; define parent(root) domain nameserver (Note trailing dot)
    ;
    ; ��� 䠩� �������� ��� ������ parent �p��p ����. �.�. �� �p��p, � ���p��y
    ; �y��� ��p������ ��� �p��p, � �y砥, �᫨ �� �� ᠬ �� � ���ﭨ� �p�������
    ; "p��������" :-)
    ;
    ;
    . 99999999 IN NS SuperDNS.other-domain.com.
    ; ������� ��p�� parent DNS ^^^^^^^^^^^^^^^^^^^^^^^^^
    ; �� �窠 ��易⥫쭠 -------------------------^
    ;
    ; �����, ��p���塞 DNS'� � �� ��p�� (� �p� �᫥ � ᢮�)
    ;
    SuperDNS.other-domain.com. 99999999 IN A 128.1.2.1
    ; ^^^^^^^^^^^^^^^^^^^^^^(^) - ��� DNS'� ^^^^^^^^^
    ; |
    ; ����⢥��� ����p�, IP ��p�� �⮣� parent DNS -----+
    ;
    MyDNS.domain.com. 99999999 IN A 128.1.1.1
    ;
    ; ��᮫�⭮ � �� ᠬ��.
    ;
    === Cut ===

    === Cut ===
    ;
    ;********************************
    ;* Start of Authority Records *
    ;********************************
    ;
    ;
    ; ���� �pאַ� ���⨦�����.
    ;
    ; ��� ��砫�, ����室��� ������ ᢮� �p��p ����. ���p������ � ��p����p��
    ; ����� y����� � RFC 1034/1035.
    ;
    @ IN SOA MyDNS.domain.com. DNSAdmin.MyHost.domain.com. (
    ; ^^^^^^^^^^^^^^^^^^^^^^^^^^ ��p�� ���⬠��p�, ; ��� ⮣�, �� �⢥砥� �� �y��樮��p������ DNS.
    ; �⬥⨬, �� ᨬ��� '@' � ��p�� ��������� �� '.'
    93052601 ; Serial number for this data (yymmdd##)
    86400 ; Refresh value for secondary name servers
    300 ; Retry value for secondary name servers
    864000 ; Expire value for secondary name servers
    3600 ) ; Minimum TTL value
    ;
    @ IN NS MyDNS.domain.com.

    ;
    ;********************************
    ;* Domain Address Information *
    ;********************************
    ;
    ; _�pאַ�_ ���ᠭ�� ��⮢ � ��
    ;
    conjuror 86400 IN A 128.1.1.1
    ; ��� ���. ����� IP ��p��.
    ; �����, p����� ��� � ���.
    IN HINFO "IBM PC vs OS/2 Warp"
    IN WKS 1.1.1.1 tcp ftp telnet
    IN TXT "Location: cab. 808"

    sc 86400 IN A 128.1.1.2
    IN HINFO "IBM PC vs Novell NetWare 3.12"
    IN TXT "Location: cab. 307"

    delpha 86400 IN A 128.1.1.3
    IN HINFO "IBM PC vs Novell NetWare 3.12"
    IN TXT "Location: cab. 305"
    ; � � ⮬ �� �y�...
    ;
    === Cut ===


    === Cut ===
    ;
    ;********************************
    ;* Start of Authority Records *
    ;********************************
    ;
    ;
    ; _��p�⭮�_ ���ᠭ�� ��⮢
    ;
    ;
    1.1.1.in-addr.arpa. IN NS conjuror.cc.tyumen.su.
    ;^^^ ��p�� �� � ��p�⭮� �p��. DNS ��� �⮩ ��.
    ;
    ;
    ; �����, �p��� ��p��᫥�� ���� � �� "��p���" ��p�� (��᫥���� ��p��.
    ; ����� y������ � ���������, �� ⮣�� �� �y��� �룫拉�� ⠪: 3.1.1.128.in-addr.arpa.)
    3 IN PTR delpha.cc.tyumen.su.
    2 IN PTR sc.cc.tyumen.su.
    1 IN PTR conjuror.cc.tyumen.su.
    === Cut ===


    ���, ᮡ�⢥��� ����p� � ��.

    PS: ��� DNS �� ���⠢�� TCP/IP 3.1 (��, �� ���� � Warp Server'��)
    ����� ����p���� LOG. ��� �⮣� ᫥�y�� ᮧ���� 䠩� etc\namedb\SYSLOG.CNF
    �p���p�� ᫥�y�饣� ����.

    === Cut ===
    #################################
    # system log configuration file #
    #################################
    #
    # Here is a list of all the keywords whose value can be specified
    # in this file:
    #
    # Keyword Effect
    # ------------- ---------------------------------------------------
    #
    # numLogFiles The number of log files desired.
    # logFileSize The Size of log files in K bytes.
    # logFileName The name of the most recent log file.
    # logItem One item to be logged.
    #

    #
    # Log files. This set of parameters specifies the log files that will be
    # maintained by this server. Each parameter is identified by a keyword
    # and followed by its value.
    #
    # Keyword Value Definition
    # -------- ------------ ------------------------------------------
    # numLogFiles 0 to n number of log files. If 0 is specified,
    # no log file will be maintained and no log
    # message is display anywhere. n is the
    # maximum number of log files maintained as
    # the size of the most recent log file
    # reaches its maximum size and a new log file
    # is created.
    #
    # logFileSize in K bytes maximum size of a log file. When the size
    # of the most recent log file reaches this
    # value, it is renamed and a new log file is
    # created.
    #
    # logFileName file path name of the most recent log file. Less
    # recent log files have the number 1 to
    # (n - 1) appended to their names; the larger
    # the number, the less recent the file.
    #
    # logItem One item that will be logged.
    # LOG_EMERG system is unusable
    # LOG_ALERT action must be taken immediately
    # LOG_CRIT critical conditions
    # LOG_ERR error conditions
    # LOG_WARNING warning conditions
    # LOG_NOTICE normal but signification condition
    # LOG_INFO informational
    # LOG_DEBUG debug-level messages
    #
    #
    numLogFiles 4
    logFileSize 100
    logFileName c:\mptn\etc\DNSLOG.
    logItem LOG_EMERG
    logItem LOG_ALERT
    logItem LOG_CRIT
    logItem LOG_ERR
    logItem LOG_WARNING
    logItem LOG_NOTICE
    logItem LOG_INFO
    === Cut ===

    --- INN 2.7.3 (rc1 version)
    * Origin: This echo is READ-ONLY. Send %HELP to FAQSERVER at (2:5020/181)