What is the syntax of /ipv6 dhcp-server option ?

In my DHCPv6 server I have set option code 23 to distribute the address of a DNS resolver for IPv6.
I used the syntax ‘1:2:3:4:5:6:7:8’ to specify the IPv6 address of the DNS resolver (IPv6 address in single quotes) and it converts it correctly to a raw value.
Now I want to specify 2 addresses (2 resolvers). What is the syntax to do that?

Unfortunately /ipv6 dhcp-server option is completely undocumented… I only stumbled upon the possibility to specify an address in single quotes and have it automatically converted, somewhere in a forum message I think. And for a single address it works OK.

/ipv6 dhcp-server option
add code=23 name=dns value="'1:2:3:4:5:6:7:8''9:a:b:c:d:e:f:f'"

[admin@MikroTik] /ipv6/dhcp-server/option> print detail 
 0 name="dns" code=23 value="'1:2:3:4:5:6:7:8''9:a:b:c:d:e:f:f'" raw-value="000100020003000400050006000700080009000a000b000c000d000e000f000f"

I tried that before and it says “failure: Unknown data type!”.
(this is in version 7.11beta4)

I had tried it in winbox but now tried it in command mode and the result is the same.

That’s odd, this is working on 7.10.2.. as well as 7.11beta2 and 7.11beta6:

w4OX5cnHyh.png

Maybe a difference is that my IPv6 addresses are actually of form 1111:2222:3333:5::1
That is also the main reason I used this format instead of raw.
Now I have applied both addresses sequentially, copied the raw values, and put 0x + the two raw values in the option value.
That works OK.
I’ll try later on a test router at home with your example…

@nescafe2002 syntax works for me even when there is zeroes compression. Are you sure you’re not missing singles quotes around addresses within double quotes?

I found the reason, I had a space between the two quoted addresses, that is apparently not allowed.
Without a space it works and it evaluates to what I already had in the raw value.
Thanks for the info! Now if they would make a documentation paragraph about /ipv6 dhcp-server option…