Skip to content

Check for invalid custom Upstream Server in DNS Interceptor #310

Open
@neelanjan00

Description

@neelanjan00

BUG REPORT

What happened: DNS interceptor tool supports using a custom upstream server. However, it doesn't validate if the upstream server is valid or not. Also, the checkValidUpstream function doesn't check for nil output from net.ParseIP function, hence returning incorrect boolean output from the parent function.

How to reproduce it (as minimally and precisely as possible): Use the DNS interceptor tool with incorrect upstream server env

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions