Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Opnsense + Pihole Host Name Query?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Opnsense + Pihole Host Name Query? (Read 2116 times)
SOUK
Newbie
Posts: 26
Karma: 1
Opnsense + Pihole Host Name Query?
«
on:
October 24, 2020, 08:33:58 pm »
Can anyone tell me if theirs a way to forward HOST name information from my Opnsense routers DHCP services on to my PiHole. I can only ever get CLIENT IP address information when viewing PiHoles query log. I have to keep looking up what IP belongs to what device via Opnsense DHCP list each time I'm investigating alerts and stuff on PiHole.
It would be nice if I could as I don't really want to keep logging in to one device and then having to log in to the another for confirmation.
Logged
Gauss23
Hero Member
Posts: 766
Karma: 39
Re: Opnsense + Pihole Host Name Query?
«
Reply #1 on:
October 24, 2020, 09:08:54 pm »
Services: Unbound DNS: General
DHCP Registration->check
Your PiHole then needs to use the OPNsense as nameserver for the reverse lookups.
Logged
„The S in IoT stands for Security!“
RFGuy_KCCO
Newbie
Posts: 11
Karma: 2
Re: Opnsense + Pihole Host Name Query?
«
Reply #2 on:
October 25, 2020, 04:05:10 am »
Yes, just turn on DHCP Registration as stated above (also DHCP Static Mappings if you use them). In Pi-Hole, turn on Conditional Forwarding under Settings --> DNS and set it up per your network configuration.
You can also add the line "NAMES_FROM_NETDB=true" (without quotes) to the /etc/pihole/pihole-FTL.conf file. See here for an explanation of this setting:
https://docs.pi-hole.net/ftldns/configfile/
Logged
OPNsense 20.7.4
SuperMicro SuperServer E300-8D (primary WAN)
Protectli Vault FW1 (secondary WAN)
TRENDnet TEG-30284
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Opnsense + Pihole Host Name Query?