Browse Source

pdns scripts added

84582af
Dirk Alders 1 year ago
parent
commit
bfe1e14475
3 changed files with 13 additions and 0 deletions
  1. 4
    0
      pdns-get
  2. 5
    0
      pdns-proxy
  3. 4
    0
      pdns-register

+ 4
- 0
pdns-get View File

1
+#!/bin/sh
2
+#
3
+wget -O - stdout http://pdns.mount-mockery.de 2> /dev/null|jq .$1
4
+

+ 5
- 0
pdns-proxy View File

1
+#/bin/sh
2
+#
3
+HOST=`pdns-get $1`
4
+socat stdio tcp:$HOST:22
5
+

+ 4
- 0
pdns-register View File

1
+#!/bin/sh
2
+#
3
+wget -O - stdout http://pdns.mount-mockery.de/pdns/$(hostname) 2> /dev/null 1> /dev/null
4
+

Loading…
Cancel
Save