ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Serge Skorokhodov <suralis@pisem.net>
To: "Lenya L.Khachaturov" <mandrake-russian@altlinux.ru>
Subject: Re[2]: [mdk-re] Named: Denied query
Date: Tue May 15 15:19:00 2001
Message-ID: <1359004557.20010515152453@pisem.net> (raw)
In-Reply-To: <20010514180600.52f94ec7.lenya@georges.home>

Здравствуйте!

Lenya L.Khachaturov пишет по-поводу [mdk-re] Named: Denied query

LLK> On Mon, 14 May 2001 16:03:25 +0400
LLK> "Dmitry V. Levin" <ldv@alt-linux.org> wrote:

>> On Mon, May 14, 2001 at 02:44:10PM +0400, Lenya L.Khachaturov wrote:
>> > Поднят у меня в домашней сетке named, и когда я делаю nslookup тачка_в_сети, он ругается 
>> > Server failed, а в логи named сыпется denied query from [127.0.0.1].1029 for тачка_в_сети. Почему 
>> > такая фигня происходит?
>> 
>> Проверьте конфигурацию named на предмет наличия там allow-query и прочих
>> правил ограничения доступа.

LLK> listen-on {127.0.0.1;}
LLK> allow-query { 192.168.0.0/16; 127.0.0.0/8 }
LLK> allow-recursion { 192.168.0.0/16; 127.0.0.0/8 }

LLK> Все вроде бы нормально...

У меня с лэптопа 192.168.0.XXX (DHCP) на линух 192.168.0.1 все
резолвится при следующих установках:

named.conf ::

zone "." {
         type hint;
         file "root";
}

include "/etc/local.conf";
include "etc/bind.conf"

local.conf ::

zone "localhost" {
     type master;
     file "local";
     allow-query { 127.0.0.1; };
};

zone "0.0.127.in-addr.arpa" {
     type master;
     file "local-reverse";
     allow-guery { 127.0.0.1; };
};

bind.conf ::

zone "bind" chaos {
     type master;
     file "bind";
     allow-query { 127.0.0.1; };
};

resolv.conf ::

search my_domain
nameserver 127.0.0.1

Что интересно, все вроде бы работало и тогда, когда строка с
nameserver была закомментирована (подозреваю, что это pppd как-то
устроил:). Может, это поможет?

Сергей Скороходов 15.05.2001 suralis@pisem.net





  parent reply	other threads:[~2001-05-15 15:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-14 14:59 Lenya L.Khachaturov
2001-05-14 15:54 ` Dmitry V. Levin
2001-05-14 18:09   ` Lenya L.Khachaturov
2001-05-15  6:41     ` Re[2]: " Russu V.F.
2001-05-15 15:11       ` Volkov Serge
2001-05-15 15:19     ` Serge Skorokhodov [this message]
2001-05-15 15:28     ` Dmitry V. Levin
2001-05-14 16:29 ` Igor Solovyov
2001-05-14 18:09   ` Lenya L.Khachaturov
2001-05-14 21:38       ` Lenya L.Khachaturov
2001-05-15 21:33         ` Igor Solovyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1359004557.20010515152453@pisem.net \
    --to=suralis@pisem.net \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git