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

dnsmasq script only for ipv4 and DNS resolves into IPv6 #203

Open
soonic6 opened this issue Aug 30, 2022 · 2 comments
Open

dnsmasq script only for ipv4 and DNS resolves into IPv6 #203

soonic6 opened this issue Aug 30, 2022 · 2 comments

Comments

@soonic6
Copy link

soonic6 commented Aug 30, 2022

Describe the issue you are having

when IPv6 is active in my LAN, sometimes Pihole resolve it into ipv6 addresses

Describe your setup?

pihole, unbound with dnsmasq script

soltuion

i was running the dnsmasq script a second time, but change the IPs from the config.json into "::". the renaming all files into ipv6_BLABLA.conf.
Maybe it is possible, that the script create both config. one for ipv4 and one for ipv6 with "::" as destination.

@kbrierly
Copy link

It may not be portable to the other generators but there's already a way to do it using the config.json

  "ips": {
    "generic":  ["10.0.0.80","::"]
  },

example steam config:

address=/lancache.steamcontent.com/10.0.0.80
address=/lancache.steamcontent.com/::

@nightah
Copy link
Contributor

nightah commented Oct 24, 2024

There's a Dnsmasq configuration knob that can disable this behaviour but the alternative @kbrierly has suggested also is a simple solution.

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

3 participants