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

native-dns server error #8

Open
MasonQAQ opened this issue Sep 30, 2021 · 1 comment
Open

native-dns server error #8

MasonQAQ opened this issue Sep 30, 2021 · 1 comment

Comments

@MasonQAQ
Copy link

native-dns server error:
TypeError: ans.address.padEnd is not a function
at response.answer.forEach.ans (/usr/lib/node_modules/whonow/index.js:98:71)
at Array.forEach (native)
at UDPServer.server.on (/usr/lib/node_modules/whonow/index.js:66:29)
at emitTwo (events.js:106:13)
at UDPServer.emit (events.js:191:7)
at UDPServer.Server.handleMessage (/usr/lib/node_modules/whonow/node_modules/native-dns/lib/server.js:68:10)
at Socket. (/usr/lib/node_modules/whonow/node_modules/native-dns/lib/server.js:80:10)
at emitTwo (events.js:106:13)
at Socket.emit (events.js:191:7)
at UDP.onMessage (dgram.js:561:8)

@brannondorsey
Copy link
Owner

It looks like ans.address is probably undefined here. Do you have an example DNS query which can trigger this exception?

Ideally you could pass me a dig command which I could use to reproduce it. Otherwise, do you have any additional logs or context?

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

2 participants