ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] ddns и статические dns-записи
@ 2004-05-13  9:27 Eugene Prokopiev
  2004-05-13 10:43 ` Oleg Shulga
  0 siblings, 1 reply; 3+ messages in thread
From: Eugene Prokopiev @ 2004-05-13  9:27 UTC (permalink / raw)
  To: community

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

Был dns-сервер, которому dhcp говорил о всех появляющихся/исчезающих 
хостах. Его конфиг выглядел так:

$ORIGIN .
$TTL 86400      ; 1 day
myserver.myprovider.ru          IN SOA  ns.myserver.myprovider.ru. 
root.myserver.myprovider.ru. (
                                 2003102213 ; serial
                                 43200      ; refresh (12 hours)
                                 3600       ; retry (1 hour)
                                 604800     ; expire (1 week)
                                 3600       ; minimum (1 hour)
                                 )
                         NS      ns.myserver.myprovider.ru.
                         A       192.168.101.180
                         MX      10 mail.myserver.myprovider.ru.
$ORIGIN myserver.myprovider.ru.
$TTL 10800      ; 3 hours
HOST1                   A       192.168.101.102
                         TXT     "31c3867fcfecb2134808003d194242019d"
HOST2                   A       192.168.101.4
                         TXT     "310800c6cc442ba7d77483334320b9b919"

Потребовалось внести несколько статических записей типа:

$ORIGIN .
$TTL 86400      ; 1 day
myserver.myprovider.ru          IN SOA  ns.myserver.myprovider.ru. 
root.myserver.myprovider.ru. (
                                 2003102213 ; serial
                                 43200      ; refresh (12 hours)
                                 3600       ; retry (1 hour)
                                 604800     ; expire (1 week)
                                 3600       ; minimum (1 hour)
                                 )
                         NS      ns.myserver.myprovider.ru.
                         A       192.168.101.180
                         MX      10 mail.myserver.myprovider.ru.
HOST3			A	192.168.101.1
$ORIGIN myserver.myprovider.ru.
$TTL 10800      ; 3 hours
HOST1                   A       192.168.101.102
                         TXT     "31c3867fcfecb2134808003d194242019d"
HOST2                   A       192.168.101.4
                         TXT     "310800c6cc442ba7d77483334320b9b919"

После перезапуска bind в лог сказал:

May 13 13:25:41 myserver named[9729]: dns_master_load: 
myserver.myprovider.ru:13: ignoring out-of-zone data (HOST1)

Чего ему не так?

-- 
С уважением, Прокопьев Евгений



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-13 10:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-13  9:27 [Comm] ddns и статические dns-записи Eugene Prokopiev
2004-05-13 10:43 ` Oleg Shulga
2004-05-13 10:56   ` [Comm] " Michael Shigorin

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