Skip to content

Fix display to show the correct resposne for SOA records #9

Description

@t0mer

In app.py file,
Change this:
answer = ", ".join(answer.split()[-1] for answer in data["answers"])

to this:
if type=='SOA':
answer = data['response'][0].split(' ', 2)
answer = ' '.join(answer)
else:
answer = ", ".join(answer.split()[-1] for answer in data["answers"])

This will display the correct result for SOA type

image

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