ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Sergey <a_s_y@sama.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] Bind, частично большие буквы в имени хоста
Date: Fri, 22 Jan 2016 15:53:08 +0400
Message-ID: <201601221553.08756.a_s_y@sama.ru> (raw)

Приветствую.

Глядя в статистику на collectd-сервере, обнаружил проблему: по
паре хостов статистика стала писаться не в host.example.com, а
в host.EXAMPLE.com. Дело оказалось в Bind, причём, как выяснилось,
воспроизводится с любыми нелокальными доменами (на этих хостах
локальный кэширующий Bind). В первом ответе буквы маленькие, 
потом получаются большие (уже насовсем, точнее, до очистки кэша):

$ host mail.www.ru
mail.www.ru is an alias for mx22.valuehost.ru.
mx22.valuehost.ru has address 217.112.35.7

$ host mail.www.ru
mail.WWW.ru is an alias for mx22.valuehost.ru.
mx22.VALUEHOST.ru has address 217.112.35.7

$ host www.ru
www.ru has address 217.112.35.75
www.ru mail is handled by 100 mx22.valuehost.ru.

$ host www.ru
WWW.ru has address 217.112.35.75
WWW.ru mail is handled by 100 mx22.valuehost.ru.

Вопрос, что это такое произошло ? А ещё не очень понятно, почему
на это реагируют приложения (collectd, cyrus-imap, sendmail как
минимум). То есть, возвращаясь к ситуации с collectd, hostname
показывает имя хоста маленькими буквами, в виде host.example.com,
/proc/sys/kernel/hostname содержит имя хоста, так же, маленькими
буквами. PTR DNS тоже отдаёт маленькими буквами. 

-- 
С уважением, Сергей.


             reply	other threads:[~2016-01-22 11:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-22 11:53 Sergey [this message]
2016-01-22 12:31   ` Anton Farygin
2016-01-22 13:47     ` Sergey
2016-03-01 15:14       ` Sergey

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=201601221553.08756.a_s_y@sama.ru \
    --to=a_s_y@sama.ru \
    --cc=sysadmins@lists.altlinux.org \
    /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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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