/ip dhcp-server network set 0 dns-server=1.1.1.1,1.0.0.1
Demonstration with Cloudflare's 1.1.1.1 DNS.
Please note, set 0
means applying the DNS Server change for interface 1
. If you have multiple DHCP Server interface
, you will have to mention the number of the interface.
Normally starts with 0
.