summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormischa <mischa@rx.high5.nl>2020-08-16 11:09:36 +0200
committermischa <mischa@rx.high5.nl>2020-08-16 11:09:36 +0200
commit3373bfffa59dd2a7965e46e9b54c8f0e266cb4e7 (patch)
tree65e72dbdc775ed0f3f935cab1c3690ab3acf258d
parent1372e642b85c210f3574475b4c25635b7d438caf (diff)
added dig for rDNS
-rwxr-xr-xcease.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/cease.sh b/cease.sh
index b63d225..c81f0e2 100755
--- a/cease.sh
+++ b/cease.sh
@@ -40,6 +40,7 @@ if vmctl show ${1%.txt} >/dev/null 2>&1; then
deploy.pl
rcctl restart dhcpd
vmctl reload
+ dig +short -x $(grep -A2 vm26 /etc/dhcpd.conf | awk '/fixed/ {print $2}' | tr -d ';')
fi
fi