|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Alexander Popow 2:5030/1529 02 Jun 2004 14:04:20 To : All Subject : еще по dns'у вопросы --------------------------------------------------------------------------------
С конфигами все в порядке, все запускается. Только одно но: неясно почему все
запросы на ЛЮБОЙ сервер приводят на localhost? Конфиги привожу ниже. Система
слакварь 9.1
---===[ Здесь начался *hostname* ]===---
server.lex
---===[ А здесь закончился *hostname* ]===---
---===[ Здесь начался *hosts* ]===---
127.0.0.1 localhost localhost.localdomain
192.168.0.1 server server.lex
---===[ А здесь закончился *hosts* ]===---
---===[ Здесь начался *host.conf* ]===---
order hosts, bind
multi on
---===[ А здесь закончился *host.conf* ]===---
---===[ Здесь начался *named.conf* ]===---
options
{
directory "/var/named/";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
logging
{
/*
* category lame-server { null; };
* category cname { null; };
*/
};
zone "server.lex" in
{
notify no;
type master;
file "server.lex.host";
allow-update { none; };
};
zone "0.168.192.in-addr.arpa" in
{
notify no;
type master;
file "192.168.0.rev";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "127.0.0.rev";
allow-update { none; };
};
zone "." IN {
type hint;
file "root.cache";
};
---===[ А здесь закончился *named.conf* ]===---
---===[ Здесь начался *resolv.conf* ]===---
search server.lex
nameserver 127.0.0.1
---===[ А здесь закончился *resolv.conf* ]===---
---===[ Здесь начался *server.lex.host* ]===---
@ IN SOA ns.server.lex. root.server.lex. (
2004060100 ;serial
10800 ;refresh
600 ;retry
432000 ;expire
3600 ;minimum ttl
)
NS ns.server.lex.
MX 5 mail.server.lex.
MX 10 mail2.server.lex
localhost A 192.168.0.1
ns A 192.168.0.1
mail A 192.168.0.1
mail2 A 192.168.0.1
---===[ А здесь закончился *server.lex.host* ]===---
С приветом, AGP.
--- _[.]_: Winamp keep the silence
* Origin: Вот Линукс - это пpавильная винда! (2:5030/1529)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/282140bda687.html, оценка из 5, голосов 10
|