Give to a specific static DHCP a specific DNS

Hi, it seams I have a device which requires for work only one and specific DNS, can I tell DHCP server to give him (and only him) that one? I see there are dhcp options on static entry, what can I type there? Thanks

/ip dhcp-server option
add code=6 name=Google value="'8.8.8.8'"

and set this option to the desired dhcp static lease

Nice, didnt know that!!

Thank you for your kind help, I've tried with 6 and it doesn't accept this value, are you sure it's 6? Thanks

I’ve noticed the address was between ’ ’ and it didn’t work without. I’ve tested it, pefect! Thanks a lot!

Put the Value (DNS server IP) in single quotes.

Another way to skin this cat is you can also a create a /ip/dhcp-server/network using a single IP (e.g. /32) with whatever DNS you want. As along as the static lease for the device match the IP/32 “network” with alternative DNS, that work too.

Either way should work.

I got it, in this way I can also specify different DNSs
Thank you!