Page 1 of 1

Use of 2 DNS servers

Posted: Tue Apr 11, 2023 3:08 pm
by charliem
On the 8900 router, I’d like to use 2 different pihole DNS servers on my LAN for 2 gruops of LAN users.

I've prevented circumvention of the PIs as DNS by clients manually entering an IP, by restricting but the 2pihole LAN clients.
I used Outgoing IP filtering
FORWARD: LAN 192.168.1.200 -192.168.1.201 to ANY WANP IP on port 53 (order 1)
DROP: Any LAN to Any WAN IP on port 53 (order 2)

I know that I can use ‘interface grouping’ and ‘group isolation’ which will provide the isolation of the two networks, each with their own DNS (see post http://www.billion.uk.com/forum/viewtopic.php?t=12641 ).

Is there a way, instead, to allocate DNS two LAN client groups based on IP or mac address, instead of by by interface?

e.g. 192.168.1.1 to 192.168.1.10 get DNS 192.168.1.90
e.g. 192.168.1.11 to 192.168.1.253 get DNS 192.168.1.91

Re: Use of 2 DNS servers

Posted: Wed Apr 12, 2023 9:11 am
by billion_fan
charliem wrote: Tue Apr 11, 2023 3:08 pm On the 8900 router, I’d like to use 2 different pihole DNS servers on my LAN for 2 gruops of LAN users.

I've prevented circumvention of the PIs as DNS by clients manually entering an IP, by restricting but the 2pihole LAN clients.
I used Outgoing IP filtering
FORWARD: LAN 192.168.1.200 -192.168.1.201 to ANY WANP IP on port 53 (order 1)
DROP: Any LAN to Any WAN IP on port 53 (order 2)

I know that I can use ‘interface grouping’ and ‘group isolation’ which will provide the isolation of the two networks, each with their own DNS (see post http://www.billion.uk.com/forum/viewtopic.php?t=12641 ).

Is there a way, instead, to allocate DNS two LAN client groups based on IP or mac address, instead of by by interface?

e.g. 192.168.1.1 to 192.168.1.10 get DNS 192.168.1.90
e.g. 192.168.1.11 to 192.168.1.253 get DNS 192.168.1.91
Not possible only option is via interface grouping

Re: Use of 2 DNS servers

Posted: Wed Apr 12, 2023 11:15 pm
by charliem
Thanks for letting me know; I will leave set-up asd described above.