OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • DHCP static mapped hostname to DNS resolver, without specifying IP
« previous next »
  • Print
Pages: [1]

Author Topic: DHCP static mapped hostname to DNS resolver, without specifying IP  (Read 4568 times)

u89

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
DHCP static mapped hostname to DNS resolver, without specifying IP
« on: April 09, 2019, 09:36:38 am »
Hi. I configured DHCP Static Mappings for an interface without providing IP address (only MAC + hostname). So I want the IPs to be assigned from the poool and DNS resolver to get the mappings and serve them but unfortunately it doesn't work. I've got  Register DHCP static mappings option checked under Unbound DNS -> General.
DNS resolution works fine when I add an IP address to DHCP Static Mappings but this is not the way I want to go.

As you can see on a screenshot, devices get leases but no hostname assignments.

The situation was described on Netgate forums:
https://forum.netgate.com/topic/125306/dhcp-static-mapped-hostname-to-dns-resolver-without-specifying-ip

People claim this might be pfSense bug, so maybe it was inherited by OPNSense.

Any clue how to get things work? Or maybe someone can confirm that this is a bug in fact.
Logged

u89

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
Re: DHCP static mapped hostname to DNS resolver, without specifying IP
« Reply #1 on: May 22, 2019, 09:41:52 am »
This is how it ended up:
https://github.com/opnsense/core/issues/2946#issuecomment-493452319
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • DHCP static mapped hostname to DNS resolver, without specifying IP
 

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