Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Название темы: DHCP + DDNS
Показать сообщение отдельно

Аватара для Аlchemist

Старожил


Сообщения: 437
Благодарности: 46

Профиль | Отправить PM | Цитировать


Цитата Dm1try:
Нам без конфигов угадать как все настроено? »
Настроено как надо!

httpd.conf:
Код: Выделить весь код
key "rndc-key" {
        algorithm hmac-md5;
        secret "1111111111RSFc+vqdPcLaEVmkr3/U0N/SBbSYXTKTg=";
};

zone "local.ru" {
    type master;
    file "dynamic/local.ru";
allow-update { key rndc-key; };
notify yes;
};

zone "0.168.192.in-addr.arpa" {
    type master;
    file "dynamic/0.168.192.rev";
allow-update { key rndc-key; };
notify yes;
};

logging {
        channel update_debug {
            file "/var/log/named-update.log";
            severity  debug 3;
            print-category yes;
            print-severity yes;
            print-time     yes;
        };
        channel security_info    {
            file "/var/log/named-auth.log";
            severity  info;
            print-category yes;
            print-severity yes;
            print-time     yes;
        };
      category update { update_debug; };
      category security { security_info; };
};
dhcpd.conf
Код: Выделить весь код
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
option domain-name "local.ru";
option domain-name-servers 192.168.0.1;

default-lease-time 2592000;
max-lease-time 2592000;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

# ad-hoc DNS update scheme - set to "none" to disable dynamic DNS updates.
ddns-update-style ad-hoc;

key "rndc-key" {
    algorithm hmac-md5;
    secret "1111111GzORSFc+vqdPcLaEVmkr3/U0N/SBbSYXTKTg=";
                };

zone local.ru. {
    primary 127.0.0.1;
    key rndc-key;
        }
zone 0.168.192.in-addr.arpa. {
    primary 127.0.0.1;
    key rndc-key;
        }

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;


subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.200;
option routers 192.168.0.1;
option netbios-name-servers 192.168.0.1;
option netbios-dd-server 192.168.0.1;
option netbios-node-type 8;
option broadcast-address 192.168.0.255;
option ntp-servers 192.168.0.1;
}
Ошибка в первом посте приводилось по моему компу. По остальным тачкам немного по другому дела обстоят:
Jul 25 16:48:09 mail dhcpd: if COMP_1.local.ru IN A rrset doesn't exist add COMP_1.local.ru 1296000 IN A 192.168.0.111: timed out.

-------
IT house


Отправлено: 16:59, 25-07-2008 | #3

Название темы: DHCP + DDNS