Issue #1 invalid

hosts attribute of a zone is missing if zone has more than a certian amount of hosts

Simon Josi
created an issue

zerigo_api.find_by_domain('atizo.org').hosts [<zerigodns.api.NSHost object at 0x3458ad0>, <zerigodns.api.NSHost object at 0x3458b90>, <zerigodns.api.NSHost object at 0x3458c10>, <zerigodns.api.NSHost object at 0x3458c90>, <zerigodns.api.NSHost object at 0x3458d10>, <zerigodns.api.NSHost object at 0x3458d90>, <zerigodns.api.NSHost object at 0x3458e10>, <zerigodns.api.NSHost object at 0x3458e90>, <zerigodns.api.NSHost object at 0x3458f10>, <zerigodns.api.NSHost object at 0x3458f90>, <zerigodns.api.NSHost object at 0x345c050>, <zerigodns.api.NSHost object at 0x345c0d0>, <zerigodns.api.NSHost object at 0x345c150>, <zerigodns.api.NSHost object at 0x345c1d0>] zerigo_api.find_by_domain('atizo.com').hosts Traceback (most recent call last): File "<console>", line 1, in <module> File "/home/simu/workspace/atizo-platform-env/lib/python2.7/site-packages/zerigodns/api.py", line 68, in getattribute return super(ZerigoDNS, self).getattribute(name) AttributeError: 'NSZone' object has no attribute 'hosts'

If a domain contains a certian amount of hosts, the hosts attribute won't be populated.

atizo.org has 14 configured domains

aitizo.com has over 400 configured domains

Comments (3)

  1. Log in to comment