Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Pi-hole DNS setup with Opnsense
« previous
next »
Print
Pages: [
1
]
Author
Topic: Pi-hole DNS setup with Opnsense (Read 1930 times)
meazz1
Jr. Member
Posts: 90
Karma: 1
Pi-hole DNS setup with Opnsense
«
on:
July 16, 2020, 01:24:09 am »
I have 2 Pi-hole I want to implement on my home network.
here's my network layout. What would be the best way to setup everything?
LAN- 192.168.4.0 - home network
DNS 1 - 192.168.4.200 -Pi-hole#1
DNS 2 - 192.168.4.201 -Pi-hole#2
=========================
VLAN IOT - 10.0.20.0/24
DNS 1 - 8.8.8.8
DNS 2 - 8.8.4.4
Logged
baqwas
Jr. Member
Posts: 62
Karma: 3
Re: Pi-hole DNS setup with Opnsense
«
Reply #1 on:
July 16, 2020, 05:05:47 pm »
Hello @meazzi,
You need TWO Pi-hole servers? High-availability because even alert notifications would be too slow for your LAN?
You're going for a
router-behind-router
plan for your IoT? You would need to dedicate a 192.168.4.x static address for the second "router" and configure your IoT sub-net to use it as the external gateway.
Kind regards.
Logged
meazz1
Jr. Member
Posts: 90
Karma: 1
Re: Pi-hole DNS setup with Opnsense
«
Reply #2 on:
July 16, 2020, 05:20:42 pm »
My LAN and VLAN are already setup on Opnsense router. I'm using only one router.
Not sure what you mean by router behind router?
I want LAN to use Pihole(s) DNS. Why two? So if one fails other one will still provide DNS quiries.
IOT on a different different VLAN and that one should use only 8.8.8.8 & 8.8.4.4.
Logged
FullyBorked
Sr. Member
Posts: 343
Karma: 24
Re: Pi-hole DNS setup with Opnsense
«
Reply #3 on:
July 19, 2020, 02:20:38 am »
I might be misunderstanding, any reason you can't just set your dhcp settings to present your piehole servers for dns as opposed to google's dns?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Pi-hole DNS setup with Opnsense