Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Dynamic DNS hostname

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 808 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I Offline
      Inq
      last edited by

      According to  2.3.3 New Features and Changes it is now possible to force a Dynamic DNS hostname in DHCP/DHCP6 Server settings. All is working as intended for the DHCPv4 server side, checking DDNS Hostnames generates a ddns-hostname "randomname" definition in the lease section of the dhcpd.conf.

      host s_lan_7 {
              hardware ethernet 58:48:22:60:c8:7d;
              option dhcp-client-identifier "00:01:00:01:1f:e1:db:25:52:98:93:c3:f2:f0";
      	fixed-address 10.0.200.11;
      	option host-name "randomname";
      	ddns-hostname "randomname";
      

      Also in the Static DHCP Mapping on LAN you have the option to check DDNS Hostname.

      Now on the DHCPv6 server side of things after checking the DDNS Hostnames checkbox the relevant section in dhcpdv6.conf doesn't contain any reference whatsoever to a ddns-hostname option :

      host s_lan_4 {
      	host-identifier option dhcp6.client-id 00:01:00:01:1f:e1:db:25:52:98:93:c3:f2:f0;
      	fixed-address6 2a02:beef:cafe:0001::d;
      	option host-name randomname;
      } 
      

      There is no mention whatsoever of a DDNS Hostname option in the Static DHCPv6 Mapping.

      Later edit

      Damn, I forgot to ask the question…...is this the inteded behaviour (as maybe ddns-hostname statemnet is not valid in dhcpv6.conf)? ... Still trying to figure out how to setup ddns with isc dhcp and a bind dns server in a dual stack network. No luck so far....the dhcpv6 ddns is fuxed up (by design imho).

      dhcpv6.png
      dhcpv6.png_thumb

      The problem with making something idiot proof is that the world keeps making better idiots.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.