From: Michael Shigorin <mike@osdn.org.ua> To: ruby@lists.altlinux.org, sysadmins@lists.altlinux.org Subject: [Sysadmins] I: ruby/arpwatch static-IP-to-dhcp+dns migration script Date: Wed, 15 Feb 2006 11:05:21 +0200 Message-ID: <20060215090521.GS19271@osdn.org.ua> (raw) Здравствуйте. Вашему вниманию предлагается работоспособный набросок скрипта, который разбирает /var/lib/arpwatch/arp.dat и создаёт из него фрагменты /etc/dhcp/dhcpd.conf и прямой зоны BIND. Сценарий, при котором он был создан: * исторически статическая виндовая сеть * достаточно спешный переезд на ddns+dhcp с хранением информации в LDAP [...] * обнаружение дубликатов имён хостов на машинах, а также неотмеченных в привязке MAC/IP интерфейсов * имеющиеся на данное время объективные проблемы с обеспечением доступности OpenLDAP в ALT Linux * откат на хранение в обычных файлах В общем, http://www.freesource.info/wiki/ALTLinux/Dokumentacija/DhcpBind/StaticMigration http://www.freesource.info/wiki/files/arp2dnsdhcp.rb Прошу заинтересованных посмотреть творчески на TODO, поскольку сам такой скриптик раскачивался года два написать, но сделал только на этих выходных. Возможно, не одинок в раскачке. :) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
reply other threads:[~2006-02-15 9:05 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20060215090521.GS19271@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=ruby@lists.altlinux.org \ --cc=shigorin@gmail.com \ --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