#!/bin/sh # # Freifunk Intercity VPN: DNS aktualisieren # OWN_COMMUNITY=pinneberg ICVPN_META_DIR=/var/lib/icvpn-meta NAMED_CONF=/etc/bind/named.conf.icvpn-zones # Konfigurationsdatei neu schreiben /opt/icvpn-scripts/mkdns -f bind -s $ICVPN_META_DIR -x $OWN_COMMUNITY > $NAMED_CONF # Nameserverdaten neu laden /usr/sbin/rndc reload