add address=xxxx::/48 list=allowed ???

Heya there folks,

Can someone kindly explain this to me: over at help.mikrotik.comBuilding Your First Firewall , under IPv6 firewall; it says

add address=xxxx::/48 list=allowed

, but I keep getting

“failure: xxxx::/48 is not a valid dns name”

Regards,
Reev

Sure, xxxx is used as an example, you have to replace it with whatever you want to be in that list.
Regarding why xxxx is considered an invalid DNS name:
IPv6 is written as hex blocks, hex contains only 0-9 and a-f, x is outside of a-f so it means it must be a dns name, but it has no dot and it has trailing ::/48 which a dns name does not use, the error is from the latter, if you remove ::/48 it will try to resolve “xxxx” .
Don’t blindly follow guides without understanding them!

so, was the solution just to permit ::/48 ?

“x” != 0..9a..f