AS | Sites | Hosts | Subnets | Utilities | Last changes | Help | Login |
wget -qO- http://hamnet-idf.fr/hamnetdb/dump.cgi | \ mysql -u hamnet --password=<yourpw> hamnetFor the first setup you need the full structure of all tables .
cd /var/cache/bind && \ wget -qO- 'http://hamnet-idf.fr/hamnetdb/dnszone.cgi?by_as=0&suffix=de.ampr.org' | \ tar zxvf - && /etc/init.d/bind9 reloadFirst setup: Add include "named.conf.hamnetdb"; to /etc/bind/named.conf.local
Hint: You can use this file as source for the dnsmasq name server program. In this combination it is possible to mix up the zone contents of official ampr.org with the entries of this database. This is also true for the reverse lookup. When offline, known names are still resolved as <name>.ampr.org.
Set this in /etc/dnsmasq.conf:
addn-hosts=/tmp/hosts.hamnetdb server=8.8.8.8 # or your parent name serverShell commands for auto update:
wget -qO /tmp/hosts.hamnetdb http://hamnetdb.net/hosts.cgi && \ /etc/init.d/dnsmasq restart