pdns scripts added
This commit is contained in:
parent
69f4203d60
commit
bfe1e14475
4
pdns-get
Executable file
4
pdns-get
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
wget -O - stdout http://pdns.mount-mockery.de 2> /dev/null|jq .$1
|
||||||
|
|
5
pdns-proxy
Executable file
5
pdns-proxy
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#/bin/sh
|
||||||
|
#
|
||||||
|
HOST=`pdns-get $1`
|
||||||
|
socat stdio tcp:$HOST:22
|
||||||
|
|
4
pdns-register
Executable file
4
pdns-register
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
wget -O - stdout http://pdns.mount-mockery.de/pdns/$(hostname) 2> /dev/null 1> /dev/null
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user