OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: Tupsi on September 08, 2024, 12:51:06 PM

Title: unable to configure DNS Server in ipv6 settings
Post by: Tupsi on September 08, 2024, 12:51:06 PM
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?
Title: Re: unable to configure DNS Server in ipv6 settings
Post by: doktornotor on September 08, 2024, 12:56:44 PM
You seem to have spurious whitespace pretty much everywhere.
Title: Re: unable to configure DNS Server in ipv6 settings
Post by: Tupsi on September 08, 2024, 01:59:33 PM
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! ;-)