zone-file-py
zone-file-py copied to clipboard
DNS Zone File Converter
Support for record lines to begin with blank spaces, signaling that the record belongs to the previous owner. See https://tools.ietf.org/html/rfc1034#section-3.6.1
Add imports change print() cause of python3 ``` >>> import blockstack_zones >>> import json >>> zone_file_object = parse_zone_file(zone_file) >>> print(json.dumps(zone_file_object, indent=4, sort_keys=True)) ```
Hey guys, is there any chance to get a Python 3 updated package like suggested in https://github.com/blockstack/zone-file-py/pull/5 ? Thanks in advance
Thanks for creating this library. This PR fixes some issues I noticed when trying to use the library under Python 3. With these changes the unittests now all pass under...
PTR records were failing to parse for me because the dict lookup for origin returned None. The origin was in fact there, but the dict key was lower-case, not upper-case....
Hey guys, thanks for your really cool package! I found an issue today: the library expects the TTL only in an integer format (like $TTL 12345) but doesn't expect a...
If a zone file contains an invalid line, an zone_file.exceptions.InvalidLineException exception is thrown, but it doesn't say what's wrong with the line or which line it is, leaving the developer...