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

dns.get_qname not found #21

Open
logical-voice opened this issue Aug 4, 2023 · 1 comment
Open

dns.get_qname not found #21

logical-voice opened this issue Aug 4, 2023 · 1 comment

Comments

@logical-voice
Copy link

logical-voice commented Aug 4, 2023

Hi,
I have installed nginx 1.25.1 + njs 0.8.0 and used "nginx-doh-and-dot-to-dns.conf" to setup DoH service.
After installation it doesn't work properly and I get the following errors in /var/log/nginx/error.log .

js function "dns.get_qname" not found while prereading client data, client: xxx.xxx.xxx.xxx, server: 0.0.0.0:53
js exception: TypeError: (intermediae value)["bytesFrom"] is not a function at module (/etc/nginx/njs.d/dns/dns.js:28)

@Dual-0
Copy link

Dual-0 commented Aug 24, 2023

look into #19. This helps me to get v2 working with nginx 1.25.2 + njs 0.8.0.
Unfortunately there are still a few log messages but DoT and DoH works.

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