Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REFUSED != NXDOMAIN #1

Open
stasic opened this issue Mar 11, 2019 · 0 comments
Open

REFUSED != NXDOMAIN #1

stasic opened this issue Mar 11, 2019 · 0 comments

Comments

@stasic
Copy link

stasic commented Mar 11, 2019

If resolving from a certain IP is not allowed REFUSED (=RCODE 3 instead of RCODE 0) is returned, but dnstls.php interprets it wrongly as NXDOMAIN.

The RCODE needs to be evaluated too (see RFC2929):
https://tools.ietf.org/html/rfc2929#section-2.3

how to reproduce:
php dnstls.php dotns1.aco.net dotns1.aco.net
Host dotns1.aco.net not found: 3(NXDOMAIN)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant