Skip to content

KeyError: 'howcode.com.' #1

@1cedsoda

Description

@1cedsoda

I cloned the repo and executed the dns.py.
After executing dig howcode.org @127.0.0.1 I got this error:

Traceback (most recent call last):
  File "dns.py", line 171, in <module>
    r = buildresponse(data)
  File "dns.py", line 145, in buildresponse
    ANCOUNT = len(getrecs(data[12:])[0]).to_bytes(2, byteorder='big')
  File "dns.py", line 94, in getrecs
    zone = getzone(domain)
  File "dns.py", line 86, in getzone
    return zonedata[zone_name]
KeyError: 'howcode.com.'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions