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()