OPNsense
  • 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 1519 times)

dwasifar

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 3
    • View Profile
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?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2