Use of 2 DNS servers

Discussions for BiPAC 8900 series: 8900AX-1600, 8900AX-2400, 8900X
Post Reply
charliem
Posts: 17
Joined: Fri Nov 17, 2017 10:08 pm

Use of 2 DNS servers

Post 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
billion_fan
Posts: 5377
Joined: Tue Jul 19, 2011 4:30 pm

Re: Use of 2 DNS servers

Post 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
charliem
Posts: 17
Joined: Fri Nov 17, 2017 10:08 pm

Re: Use of 2 DNS servers

Post by charliem »

Thanks for letting me know; I will leave set-up asd described above.
Post Reply