From 90106823fc031ff4485325cf553b58b6305152e5 Mon Sep 17 00:00:00 2001 From: samburney Date: Sat, 13 Apr 2024 10:48:19 +0930 Subject: [PATCH] Update powerdns.py to use 'list' instead of 'show *' --- snmp/powerdns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snmp/powerdns.py b/snmp/powerdns.py index 088273da7..74e9517b0 100755 --- a/snmp/powerdns.py +++ b/snmp/powerdns.py @@ -6,7 +6,7 @@ pdnscontrol = "/usr/bin/pdns_control" process = subprocess.Popen( - [pdnscontrol, "show", "*"], stdout=subprocess.PIPE, stderr=subprocess.PIPE + [pdnscontrol, "list"], stdout=subprocess.PIPE, stderr=subprocess.PIPE ) input = process.communicate() stdout = input[0].decode()