ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: cornet <cornet@altlinux.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] DNS troubles
Date: Mon Dec 10 11:42:01 2001
Message-ID: <3C1475C9.46324858@altlinux.ru> (raw)
In-Reply-To: <20011208235509.875E6662@abr.tool.ru>

Andrey Brindeew wrote:
> 
> Hi!
> 
> В связи с настройкой VMWare потребовалось настроить DNS, что оказалось
> весьма нетривиально даже при наличии русского DNS-HOWTO.
> 
> Что требуется с точки зрения программ?
> 
> 1. мой локальный домен (abr.tool.ru) -> 127.0.0.1
А почему??? Этот адрес пожизни должен быть 
localhost.localdomain
и менять это нет никакого смылса, оно и по дефалту в named так
прописано...

> 2. Для приложений из VMWare уже сложнее:
>    abr.tool.ru -> 192.168.1.1
>    win.tool.ru -> 192.168.1.2

Ну так и??
Сделайте 2 записи с этими адресами :-)
для начала:
...
@       IN      SOA     tool.ru. admin.localhost. ( 
...
                NS      ns   ; Internet адрес сервера имен
...
ну а потом:
...
localhost               A       127.0.0.1
ns                      A       192.168.1.1
abr			A 	192.168.1.1
win			A	192.168.1.2

Ну и обратную зону:
...
@       IN      SOA     tool.ru. admin.localhost. (
...
                NS      ns.tool.ru.

1               PTR     ns.tool.ru.
1               PTR     abr.tool.ru.
2               PTR     win.tool.ru.

> Вот на прописывании второго пункта я и "сел".
> Получается что нужно на "abr.tool.ru" в зависимости от той машины,
> с которой пришел запрос, выдавать различные айпишники?
> Знаю что бывают хосты, на которых одному доменному имени соответствуют
> много адресов (типа icq.mirabilis.com), но это, кажется, не мой случай.
> 
> По минимуму нужно лишь то, чтобы abr.tool.ru виделся из Linux как 127.0.0.1,
> а из WMWare - как 192.168.1.1. Ну и запросы к серверу провайдера форвардить.

А форвардить - это в named.conf

forwarders { 195.34.32.11; 195.34.32.10; };

Вот это например DNS адреса МТУ. У Вас видимо лучше указать адреса
именно Вашего провайдера.
 
> Наставьте пожалуйста на путь истинный. :(

Ну таки вот, примерно в таком духе...
:-)

-- 
Власенко Олег.
Отдел технической поддержки ALT Linux Team.
mailto:cornet@altlinux.ru



  reply	other threads:[~2001-12-10 11:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-09  2:55 Andrey Brindeew
2001-12-10 11:42 ` cornet [this message]
2001-12-10 17:26   ` Andrey Brindeew

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=3C1475C9.46324858@altlinux.ru \
    --to=cornet@altlinux.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