OPNsense Forum

English Forums => General Discussion => Topic started by: FormBurden on November 20, 2021, 01:09:55 am

Title: IPv6 DNS Forwarding
Post by: FormBurden on November 20, 2021, 01:09:55 am
I've been tinkering with my DNS settings, and at least from what I know IPv4 is good to go. The way I have it set up, is port 53 is Adguard > port 5353 is Unbound. My question is, when editing the settings in AdGuard to have the upstream be 127.0.0.1:5353, how do I do it for IPv6?

I'm able to put ::1 into it, and it states everything is good, but when using ports, and doing the IPv6 localhost which is ::1, how do you do ports with IPv6, for localhost? Or would ::1 work fine?

Or as long as the upstream which is the 127.0.0.1:5353 is set, there is no reason to bother with the IPv6 settings since it would auto do it. Is that how it works? I honestly can't find much info when it comes to ports with IPv6. All info is just IPv4.

I ask this, because when looking at the queries on Adguard, the IPv6 address get pushed forward (or blocked, because of adblock settings and stuff). Maybe because I'm seeing this, I honestly don't need to edit anything?

Thanks!
Title: Re: IPv6 DNS Forwarding
Post by: Greelan on November 20, 2021, 01:25:49 am
With IPv6 ports are usually handled like:

[::1]:5353

But not sure whether Adguard uses that convention

It also doesn’t overly matter since IPv6 DNS records can be looked up over IPv4
Title: Re: IPv6 DNS Forwarding
Post by: FormBurden on November 20, 2021, 01:54:09 am
Oh I see. I forgot the colons after ] which screwed me up when testing.

That definitely worked. But if in the end it doesn't really matter since IPv6 will just auto-do it's thing from the IPv4. That's alright.