#? /bin/sh
# This  is the project to use the SOAP connector of OVH to change zone 
# entries for krebsco.de
set -euf

# install ovh soapi

cd /path/to/krebscode/painload

make -C ovh/soapi install

# edit the zone

export PATH="$PWD/bin${PATH+:$PATH}"
export KREBS_OVH_USER=...
export KREBS_OVH_PASS=...


zoneEntryAdd "krebsco.de" "subdomain" "A" "a.b.c.d."

# ZoneExport Broken since 2012-07-16
# zoneExport > /tmp/foo
# $EDITOR /tmp/foo
# zoneImport < /tmp/foo

# Have a nice day!^_^