Skip to content

Commit

Permalink
Update powerdns.py to use 'list' instead of 'show *' (#514)
Browse files Browse the repository at this point in the history
thanks!
  • Loading branch information
samburney authored Oct 1, 2024
1 parent 5b59645 commit bb7385a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snmp/powerdns.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit bb7385a

Please sign in to comment.