Custom DNS
![](/avatar/default.png)
Hi, I've just installed Adguard home running in a LXC at home.
My router runs OpenWrt and is responsible for handing out IP addresses, i.e. runs the DHCP server.
Then I have Omada for all the access points. I have no need to isolate networks
I want to run multiple WLANs / SSID, where the regular one gets the DNS from my OpenWrt instance, whereas a custom WLAN / SSID uses a custom DNS -> in this case the Adguard server.
How do I configure this in the Omada controller?
Kind regards, Erik
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Under Site Settings->Wired Networks->LAN
tick the 'Manual DNS Server' box. You can configure different server combos for each LAN subnet in your network this way.
- Copy Link
- Report Inappropriate Content
I'm not sure I follow, if I would change the DNS for the LAN, then all my WLANs would be impacted by that change?
What I want to accomplish is to have two SSIDs in my network:
SSID-A: Regular setup without any DNS filtering
SSID-B: Custom Ad Guard DNS
Devices, regardless if they connect to SSID-A or SSID-B, should get full visibility/access to all my devices. Preferably, all devices should be using the same subnet.
Another thing I don't understand in the Omada controller settings, is that the DHCP server is active, and it has a range configured (192.168.0.x), but all my devices get their IP addresses from my router (which uses 10.0.0.x).
- Copy Link
- Report Inappropriate Content
First things first, Omada sees a subnet as a consistent collection of IP's, same netmask, same gateway, same DHCP server, same DNS settings etc. If you want everything in the 'same' subnet of 192.168.0,0 /24, in the controller you could create two /25 networks, ie 192.168.0,2 through 192.168.0,126 (usable) and 192.168.0,130 through 192.168.0,254 (usable). You would set the first subnet of 192.168.0,0 /25 to use 192.168.0,1 as their gateway (or whatever the IP of the OpenWRT is) and as the custom DHCP server plus whatever custom DNS server settings you apply, and the second group would use 192.168.0,129 as their gateway and DHCP server, and a second set of custom DNS settings. You then map subnet1 with a VLAN of say 10 to SSID1 and subnet2 with a VLAN of 20 to SSID2. On the OpenWRT controller, you would need to also create those two subnets and make sure that the gateway and dhcp IP's map what you configured in the controller. You also need to map those OpenWRT subnets to VLANs (10 & 20) which have to be created on both the controller and your OpenWRT router. Then you need to configure the downstream switch to be VLAN aware. Alternatively, buy the $60 ER605V2 and the controller will do all of this automagically for you.
- Copy Link
- Report Inappropriate Content
Only Omada controlled gateways have active DHCP servers. Some managed switches are also capable of being DHCP servers in standalone mode.
That's why you have to replicate everything you do in the controller that's gateway related on the standalone OpenWRT router.
- Copy Link
- Report Inappropriate Content
If somebody has a router that is not under Omada Controller, nothing needs to be replicated in Omada. All those gateway settings in Omada Controller are totally useless in such a configuration. If somebody uses Omada Controller only because of APs, many people do, he/she runs into many other useless features there. No wonder people get confused or bothered.
- Copy Link
- Report Inappropriate Content
![](/avatar/default.png)
Information
Helpful: 0
Views: 1097
Replies: 5
Voters 0
No one has voted for it yet.