#!/bin/sh -u

. ddns-sh-functions


ip="$1";shift
name="$1";shift

/usr/sbin/ddns-add-fhost "$ip" "$name"
/usr/sbin/ddns-add-rhost "$ip" "$name"
