diff --git a/pdns-get b/pdns-get new file mode 100755 index 0000000..38a57f0 --- /dev/null +++ b/pdns-get @@ -0,0 +1,4 @@ +#!/bin/sh +# +wget -O - stdout http://pdns.mount-mockery.de 2> /dev/null|jq .$1 + diff --git a/pdns-proxy b/pdns-proxy new file mode 100755 index 0000000..30268bc --- /dev/null +++ b/pdns-proxy @@ -0,0 +1,5 @@ +#/bin/sh +# +HOST=`pdns-get $1` +socat stdio tcp:$HOST:22 + diff --git a/pdns-register b/pdns-register new file mode 100755 index 0000000..2c4ae32 --- /dev/null +++ b/pdns-register @@ -0,0 +1,4 @@ +#!/bin/sh +# +wget -O - stdout http://pdns.mount-mockery.de/pdns/$(hostname) 2> /dev/null 1> /dev/null +