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

IPv6 DNS server and invalid port parsing after host #77

Closed
danieletorelli opened this issue Nov 20, 2023 · 1 comment
Closed

IPv6 DNS server and invalid port parsing after host #77

danieletorelli opened this issue Nov 20, 2023 · 1 comment

Comments

@danieletorelli
Copy link

I have some DNS server in IPv6 format and running whatever query, like:

~ % q -v test.test.test

returns a fatal parsing error:

DEBU[0000] Name: test.test.test                      
DEBU[0000] RR types: [AAAA]                             
DEBU[0000] No server specified or Q_DEFAULT_SERVER set, using /etc/resolv.conf 
DEBU[0000] found server 2001:db8:11:8340:dea6:32ff:fe5b:a19e from /etc/resolv.conf 
FATA[0000] parsing plain://2001:db8:11:8340:dea6:32ff:fe5b:a19e: parse "plain://2001:db8:11:8340:dea6:32ff:fe5b:a19e": invalid port ":a19e" after host

if it can help, my /etc/resolv.conf file contains something similar to this:

nameserver 2001:db8:11:8340:dea6:32ff:fe5b:a19e
nameserver 192.168.1.1
nameserver 192.168.1.2
@natesales
Copy link
Owner

Fixed in v0.16.0

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