Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
DNS forwarding with local hostnames?
« previous
next »
Print
Pages: [
1
]
Author
Topic: DNS forwarding with local hostnames? (Read 2464 times)
dwasifar
Jr. Member
Posts: 72
Karma: 3
DNS forwarding with local hostnames?
«
on:
October 17, 2018, 05:54:52 am »
Currently on my network I have a dedicated DNS/DHCP server running dnsmasq on Debian. It has three reasons to exist:
1) DHCP IP assignments. Most devices on the network are configured with DHCP reservations by MAC address.
2) DNS relay services.
3) Hostnames by IP, so I can connect to other devices by their local hostnames instead of IP.
The first two things are configured in dnsmasq.conf, whereas the third thing is done in /etc/hosts.
I feel like OPNsense could take over these functions, given that dnsmasq is already included. I'm pretty sure I could figure out how to make the first two things happen (though I would not refuse any pointers). But is there a way to configure it to respond to a DNS request for a local hostname with that machine's IP on the local subnet? Would that be Host Overrides in dnsmasq settings under Advanced?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
DNS forwarding with local hostnames?