Community discussions

MikroTik App
 
User avatar
reevansxyz
just joined
Topic Author
Posts: 18
Joined: Sat Jul 02, 2022 7:49 pm
Location: Asia/Kuala_Lumpur
Contact:

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

Thu Sep 01, 2022 11:43 pm

Heya there folks,

Can someone kindly explain this to me: over at help.mikrotik.com Building 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
 
User avatar
Znevna
Forum Guru
Forum Guru
Posts: 1347
Joined: Mon Sep 23, 2019 1:04 pm

Re: add address=xxxx::/48 list=allowed ???  [SOLVED]

Fri Sep 02, 2022 3:49 am

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!

Who is online

Users browsing this forum: Bing [Bot], DanMos79, Google [Bot], loloski and 76 guests