unable to configure DNS Server in ipv6 settings

Started by Tupsi, September 08, 2024, 12:51:06 PM

Previous topic - Next topic
I ran into the problem of configuring a different dns server then my opnsense on an interface in either the Router Advertisement or the DHCPv6 settings. So its either that I am to dumb (which I hope) or found a bug. Hopefully you can help me decide which it is ;-)

In the settings I tried the following format of an ipv6 adress:

2606: 4700: 4700 :: 1111
2606: 4700: 4700 :: 1111/128
2606: 4700: 4700 :0000:0000:0000:0000: 1111
2606: 4700: 4700 :0000:0000:0000:0000: 1111/128
[2606: 4700: 4700 :: 1111] (yes I got desperate...)
[2606: 4700: 4700 :0000:0000:0000:0000: 1111]

But everytime I get the following error, so can not save it.

A valid IPv6 address must be specified for the primary/secondary DNS servers.

Version is OPNsense 24.7.3_1-amd64

So what am I doing wrong or is this really just a bug in checking the syntax?

You seem to have spurious whitespace pretty much everywhere.

Now that you wrote it I can suddenly see them myself, very embarrassing, so big thank you!
Teaching moment to NOT just copy&paste everything from the internet, just because one is lazy! ;-)