ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yuri Ryazantsev <yuri@unix.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] named ÎÅ ÌÀÂÉÔ ÐÏÄÞÅÒËÉ×ÁÎÉÅ?
Date: Fri May 11 13:46:13 2001
Message-ID: <20010511135100.A24713@mail.unix.ru> (raw)
In-Reply-To: <3AFBA741.9F319563@zmail.ru>; from cornet@zmail.ru on Fri, May 11, 2001 at 12:48:01PM +0400

On Fri, May 11, 2001 at 12:48:01PM +0400, cornet wrote:

> Забавную вещь обнаружил в named из Spring.
> 
> Все из сидюшного дистрибутива, без апдейтов и ручного привинчивания.
> bind-8.2.3-ipl4mdk
> caching-nameserver-7.0-ipl2mdk
> 
> Поднял кэширующий DNS на маскарадящем шлюзе и сделал обратную зону для
> локальной сети.
> Так вот, если в имени машины есть символ подчеркивания "_" named
> ругается и посылает всю зону нафиг :-( В RE7.0 такой ерунды не было все
> работало нормально!
> 
> Подробнее:
> Есть клиентская тачка в локальной сети с именем umka_pc.richfor c
> адресом 192.168.9.8
> прописываю ее среди прочих тачек в обратку:
> 
> 8                       PTR     umka_pc.richfor.
> 
> рестартую named и имею в /var/log/messages вот такие ругательства:
> 
> May 11 11:27:00 buffer named[14954]: Zone "9.168.192.in-addr.arpa" (file
> 192.168.9): No default TTL ($TTL <value>) set, using SOA minimum instead
> May 11 11:27:00 buffer named[14954]: host name "umka_pc.richfor" (owner
> "8.9.168.192.in-addr.arpa") IN (primary) is invalid - rejecting
> May 11 11:27:00 buffer named[14954]: 192.168.9:11: database naming error
> May 11 11:27:00 buffer named[14954]: 192.168.9:11: Database error near
> (bad name "umka_pc.richfor")
> May 11 11:27:00 buffer named[14954]: master zone
> "9.168.192.in-addr.arpa" (IN) rejected due to errors (serial 1)
> 
> Убираю из имени машины символ подчеркивания - все работает.
> Вписываю другое имя (от фонаря) то же содержащее подчеркивание - не
> работает ругается аналогичным образом :-(
> В именах других машин символа подчеркивания нету, эта umka_pc одна такая
> прикольная.
> 
> Это баг или я чего то непонимаю??

Символ подчеркивания не разрешается в RFC в качестве имени хоста. Допустимые
символы - буквы лат. алфавита, цифры и тире. Точка допускается, но
используется в качестве разделителя. Если все же хочешь использовать такое
имя, то в named.conf поставь "check-names ignore" для этой зоны.

with best wishes,

Yuri.




      parent reply	other threads:[~2001-05-11 13:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-11 12:45 [mdk-re] named не любит подчеркивание? cornet
2001-05-11 12:57 ` [mdk-re] " Vlad Vostrykh
2001-05-11 12:57 ` Sergey S. Skulachenko
2001-05-11 13:06   ` cornet
2001-05-11 13:46 ` Yuri Ryazantsev [this message]

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=20010511135100.A24713@mail.unix.ru \
    --to=yuri@unix.ru \
    --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