URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 77626
[ Назад ]

Исходное сообщение
"ДНС не фурычит..."

Отправлено Аноним , 29-Ноя-07 18:15 
Вот проблемка возникла немогу использовать из под винды ДНС на линуксе
DNS request timed out.
    timeout was 2 seconds.
*** Can't find server name for address 192.168.1.232: Timed out
*** Default servers are not available
Server:  UnKnown
Address:  192.168.1.232

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** Request to UnKnown timed-out

настройки вот такие, в чем может быть проблема????

server 192.168.1.232 {
    transfer-format many-answers;
};

options {
    directory "/var/bind";

    forwarders { x.x.x.x; };

    listen-on-v6 { none; };
    listen-on port 53 { 127.0.0.1; 192.168.1.232; };

    allow-query { 127.0.0.1; 192.168.1.232; };

    pid-file "/var/run/named/named.pid";
};

view "internal" {
    match-clients { 127.0.0.1; 192.168.1.0/24; };

    zone "mydomain.com." IN {
        type master;

        file "pri/int.mydomain.com.zone";
        allow-update { none; };
        notify no;
    };

    zone "localhost" IN {
        type master;
        file "pri/localhost.zone";
        allow-update { none; };
        notify no;
    };

    zone "127.in-addr.arpa" IN {
        type master;
        file "pri/127.zone";
        allow-update { none; };
        notify no;
    };

    zone "1.168.192.in-addr.arpa" IN {
        type master;
        file "pri/1.168.192.zone";
        allow-update { none; };
        notify no;
    };
};

1.168.192.zone
$TTL 1W
$ORIGIN 1.168.192.in-addr.arpa.

@       IN      SOA     gateway.mydomain.com. root.gateway.mydomain.com. (
                                      2007111908 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      604800     ; Expire - 1 week
                                      86400 )    ; Minimum

                IN      NS      gateway.mydomain.com.
232             IN      PTR     gateway.mydomain.com.

int.mydomain.com.zone
$TTL 1W

@       IN      SOA     gateway.mydomain.com. root.gateway.mydomain.com. (
                                      2007111904 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      604800     ; Expire - 1 week
                                      86400 )    ; Minimum

@               IN      NS      gateway
                IN      MX 0    gateway

gateway         IN      A       192.168.1.232

mail            IN      CNAME   gateway
mail2           IN      CNAME   gateway

imaps           IN      CNAME   gateway


Содержание

Сообщения в этом обсуждении
"ДНС не фурычит..."
Отправлено thehangedman , 29-Ноя-07 23:17 
   allow-query { 127.0.0.1; 192.168.1.232; };

allow-query defines a match list e.g. IP address(es) which are allowed to issue queries to the server. If not specified all hosts are allowed to make queries.

Т.е. запросы разрешены только с самого сервера, а с других машин - нет.