python-powerdns
python-powerdns copied to clipboard
PowerDNS web api python client and interface
Whe installieng your package on Windows I get: ``` pip install python-powerdns Collecting python-powerdns Using cached python-powerdns-2.1.0.tar.gz (14 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info...
Added Encoding like suggested in Issue 31
When installing using pip, this warning is being showed: `DEPRECATION: python-powerdns is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel'...
Need to include '.' before the name to keep from picking a zone based on the end of the hostname that isn't the subdomain. This fixes #30
I have zones "company.com" and "prt.company.com". If I call Server.suggest_zone('foo-prt.company.com.') I get back the zone "prt.company.com" instead of "company.com". Looking at https://github.com/outini/python-powerdns/blob/master/powerdns/interface.py#L241 it seems that you need to modify it...
Not seeing in code, any way to get each zone's metadata using python-powerdns? https://doc.powerdns.com/authoritative/http-api/metadata.html#metadata It's at `/servers/{server_id}/zones/{zone_id}/metadata` My use case is a validation script against powerdns, wanting to check to...
I missed the ability to add an MX and TXT record.
The default return value of get_record should probably be None. Instead of "" at https://github.com/outini/python-powerdns/blob/master/powerdns/interface.py#L244 this should be None. Then one can easily check if there is a valid return...
https://github.com/outini/python-powerdns/blob/173763c11bb4fe9f3017625847be5c1f65125ceb/powerdns/interface.py#L221 Shouldn't this method have some kind of flag to skip caching "all zones" if not desired? I can understand benefit of this caching in small environment, however in huge...