On my previous router you could just leave the DNS box empty on a VLAN and no devices would get a DNS server, I tried "DHCP 6," with no IP address but that did not work.
Is there a question?
Can you be specific about which setting you're referring to (because the web GUI setting that is similar to your description doesn't do what you stated)?
Which settings are you referring to?
(In your response, it may help to describe the issue you're experiencing in detail.)
EDIT:
Does it mean you edited DHCP (v4) Option No. 6?
In the LAN Interface > DHCP > Advanced options, there is an option called dhcp-option, when you use 6,192.168.1.2 as an example.
All devices on the LAN will get 192.168.1.2 as the DNS server rather than 192.168.1.1. The "Use custom DNS servers" in LAN > Advanced Settings only changes the upstream DNS servers for the router itself and not the DNS server for clients on the LAN, option 6 is what's needed to bypass the router's DNS entirely.
I want to set this so one of my VLANs get no DNS server at all, it is an IOT VLAN with no internet access and does not need a DNS Server.
Would 6,0.0.0.0 or 6,127.0.0.1 work?
If you have a vlan that you want to prevent dns access, you can just create a firewall ruleset that prohibits it.
Is the goal to isolate the devices from the internet? If so, prohibiting wan forwarding on the respective network is even better than dns blocks.
Please describe your ultimate goal.
The VLAN is already setup to block internet, I know I can block DNS using firewall rules but that's not what I'm trying to achieve.
When DHCP assign's an IP address to the client, it should not assign any DNS Servers at all, router IP or otherwise.
With the Edge Router if you left the DNS fields blank, the router would assign an IP address, the gateway IP but no DNS.
Not sure how else to explain it.
What benefit does "no dns" have in your situation?? I fail to see the reason to go to this effort.
That said...
I think this should work. Either one. It will assign a DNS, but since the address would be invalid, it should be essentially equivalent to not sending a DNS at all.
list dhcp_option '6'
I tried 6, but not just '6'. Will try again and report back.