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

forwarders doesn't seem to accept basic ipv6 address #333

Open
zander opened this issue Jan 18, 2023 · 2 comments
Open

forwarders doesn't seem to accept basic ipv6 address #333

zander opened this issue Jan 18, 2023 · 2 comments

Comments

@zander
Copy link

zander commented Jan 18, 2023

In the config file of alfis I had a line like:

forwarders = ["2a01:4f8:171:c9a::5"]

this did not cause any error, but it also did not manage to actually work. (please note that my example above is not the actual IP address of my ISP).

I expected:

  • the IP address to get parsed properly.
  • the default port to be used

What happened instead:

alfis logs stated;

Failed to resolve AAAA www.kde.org: Client(Io(Custom { kind: Uncategorized, error: "failed to lookup address information: Name or service not known" }))

Only after updating the config file to add square braces around the address and add a port number did this start to work.

@Revertron
Copy link
Owner

You need to set ports for addresses, so the correct format for IPv6 is ["[IPv6]:port"].

@zander
Copy link
Author

zander commented Jan 18, 2023

I know, the bugreport stated that I figured out the way to make it work.

The bugreport is that the normal expected way doesn't work.

Feel free to make this a feature request if you think its not a bug.

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