<div dir="ltr">Hi list,<div><br></div><div>I am running a test installation of Kea 1.2.0 on FreeBSD 11.1 built from ports (1.2.0_3) with MySQL support (for leases and reservations). IPv4 only. DDNS integration with PowerDNS (powerdns-4.0.4_5, also built from ports with MySQL support).</div><div><br></div><div>So far I got it like 90% working. In particular I can see some clients (Linux, Android) getting their IPs and DDNS update is working as well. However I got an issue with Windows10 clients: DDNS updates seem to happen only for the reverse DNS entry, not for the foward entry. That is what I can see in the PowerDNS maps and my Kea logs show:</div><div><br></div><div><br></div><div>1. kea-dhcp4.log</div><div><br></div><div><div>2017-10-21 21:49:08.610 INFO  [kea-dhcp4.dhcp4/29343] DHCP4_STARTED Kea DHCPv4 server version 1.2.0 started</div><div>2017-10-21 21:49:23.394 INFO  [kea-dhcp4.leases/29343] DHCP4_RELEASE [hwtype=1 bc:83:85:25:f6:6a], cid=[01:bc:83:85:25:f6:6a], tid=0xc6d9b97e: address 192.168.1.104 was released properly.</div><div>2017-10-21 21:49:35.364 INFO  [kea-dhcp4.leases/29343] DHCP4_LEASE_ADVERT [hwtype=1 bc:83:85:25:f6:6a], cid=[01:bc:83:85:25:f6:6a], tid=0x344af947: lease 192.168.1.104 will be advertised</div><div>2017-10-21 21:49:35.369 INFO  [kea-dhcp4.leases/29343] DHCP4_LEASE_ALLOC [hwtype=1 bc:83:85:25:f6:6a], cid=[01:bc:83:85:25:f6:6a], tid=0x344af947: lease 192.168.1.104 has been allocated</div><div><br></div><div>2. kea-ddns.log</div><div><br></div><div>2017-10-21 21:49:08.608 DEBUG [kea-dhcp-ddns.dctl/29350] DCTL_RUN_PROCESS DhcpDdns starting application event loop</div><div>2017-10-21 21:49:08.608 INFO  [kea-dhcp-ddns.dhcpddns/29350] DHCP_DDNS_STARTED Kea DHCP-DDNS server version 1.2.0 started</div><div>2017-10-21 21:49:08.608 DEBUG [kea-dhcp-ddns.dhcpddns/29350] DHCP_DDNS_QUEUE_MGR_STARTED application's queue manager has begun listening for requests.</div><div>2017-10-21 21:49:23.401 INFO  [kea-dhcp-ddns.d2-to-dns/29350] DHCP_DDNS_REMOVE_SUCCEEDED DHCP_DDNS Request ID 0001015DEBCEB134F279474D91EFAC78C1B7BD25006A8C3BC36295F2AC60DA6258A9F0: successfully removed the DNS mapping addition for this request: Type: 1 (CHG_REMOVE)</div><div>Forward Change: no</div><div>Reverse Change: yes</div><div>FQDN: [APFEL.lan.]</div><div>IP Address: [192.168.1.104]</div><div>DHCID: [0001015DEBCEB134F279474D91EFAC78C1B7BD25006A8C3BC36295F2AC60DA6258A9F0]</div><div>Lease Expires On: 20171021204627</div><div>Lease Length: 3600</div><div><br></div><div>2017-10-21 21:49:35.374 INFO  [kea-dhcp-ddns.d2-to-dns/29350] DHCP_DDNS_ADD_SUCCEEDED DHCP_DDNS Request ID 0001015DEBCEB134F279474D91EFAC78C1B7BD25006A8C3BC36295F2AC60DA6258A9F0: successfully added the DNS mapping addition for this request: Type: 0 (CHG_ADD)</div><div>Forward Change: no</div><div>Reverse Change: yes</div><div>FQDN: [APFEL.lan.]</div><div>IP Address: [192.168.1.104]</div><div>DHCID: [0001015DEBCEB134F279474D91EFAC78C1B7BD25006A8C3BC36295F2AC60DA6258A9F0]</div><div>Lease Expires On: 20171021204935</div><div>Lease Length: 3600</div></div><div><br></div><div><br></div><div>This is from a "ipconfig /release", "ipconfig /renew" cycle on the Windows box. I can see equivalent logs from other test cases (rebooting the device, etc).</div><div><br></div><div>So I can not see any errors related to this event, but for whatever reasons Kea thinks it is only necessary to manage the reverse map and does nothing with the forward map. Of course, however, we'd like to see the windows client also show up in the forward map.</div><div><br></div><div>A different Windows 10 test client shows the same behavior. (I don't have other Windows versions available for cross-testing Windows versions; Linux and Android however don't show this behavior).</div><div><br></div><div>kea.conf pasted below.</div><div><br></div><div>Regards<br>Dominik</div><div><br></div><div><div>{</div><div>"Dhcp4": {</div><div>    "interfaces-config": {</div><div>        "interfaces": [ "igb0" ]</div><div>    },</div><div><br></div><div>    "control-socket": {</div><div>        "socket-type": "unix",</div><div>        "socket-name": "/tmp/kea-dhcp4-ctrl.sock"</div><div>    },</div><div><br></div><div>    "dhcp-ddns": {</div><div>        "enable-updates": true,</div><div>        "qualifying-suffix": "lan",</div><div>        "generated-prefix": "kea"</div><div>    },</div><div><br></div><div>    "lease-database": {</div><div>        "type": "mysql",</div><div>        "name": "kea",</div><div>        "host": "localhost",</div><div>        "user": "kea",</div><div>        "password": "..."</div><div>    },</div><div><br></div><div>    "hosts-database": {</div><div>        "type": "mysql",</div><div>        "name": "kea",</div><div>        "host": "localhost",</div><div>        "user": "kea",</div><div>        "password": "..."</div><div>    },</div><div><br></div><div>    "expired-leases-processing": {</div><div>        "reclaim-timer-wait-time": 10,</div><div>        "flush-reclaimed-timer-wait-time": 25,</div><div>        "hold-reclaimed-time": 3600,</div><div>        "max-reclaim-leases": 100,</div><div>        "max-reclaim-time": 250,</div><div>        "unwarned-reclaim-cycles": 5</div><div>    },</div><div><br></div><div>    "renew-timer": 900,</div><div>    "rebind-timer": 1800,</div><div>    "valid-lifetime": 3600,</div><div><br></div><div>    "option-data": [</div><div>        {</div><div>            "name": "domain-name-servers",</div><div>            "data": "192.168.1.10"</div><div>        },</div><div>        {</div><div>            // "code": 15,</div><div>            "name": "domain-name",</div><div>            "data": "lan"</div><div>        },</div><div>        {</div><div>            "name": "domain-search",</div><div>            "data": "lan"</div><div>        },</div><div>        {</div><div>            "name": "default-ip-ttl",</div><div>            "data": "0xf0"</div><div>        }</div><div>    ],</div><div><br></div><div>    "subnet4": [</div><div>        {</div><div>            "subnet": "<a href="http://192.168.1.0/24">192.168.1.0/24</a>",</div><div>            "id": 1024,</div><div>            "pools": [ { "pool": "192.168.1.101 - 192.168.1.254" } ],</div><div>            "option-data": [ { "name": "routers", "data": "192.168.1.1" } ]</div><div>        }</div><div>    ]</div><div><br></div><div>},</div><div><br></div><div>"DhcpDdns":</div><div>{</div><div>  "ip-address": "127.0.0.1",</div><div>  "port": 53001,</div><div>  "tsig-keys": [],</div><div>  "forward-ddns" : {</div><div>    "ddns-domains": [</div><div>      {</div><div>        "name": "lan.",</div><div>        "key-name": "",</div><div>        "dns-servers": [</div><div>          {</div><div>            "hostname": "",</div><div>            "ip-address": "127.0.0.1",</div><div>            "port": 53</div><div>          }</div><div>        ]</div><div>      }</div><div>    ]</div><div>  },</div><div>  "reverse-ddns" : {</div><div>    "ddns-domains": [</div><div>      {</div><div>        "name": "1.168.192.in-addr.arpa.",</div><div>        "key-name": "",</div><div>        "dns-servers": [</div><div>          {</div><div>            "hostname": "",</div><div>            "ip-address": "127.0.0.1",</div><div>            "port": 53</div><div>          }</div><div>        ]</div><div>      }</div><div>    ]</div><div>  }</div><div>},</div><div><br></div><div>"Logging":</div><div>{</div><div>  "loggers": [</div><div>      {</div><div>        "name": "kea-dhcp4",</div><div>        "output_options": [</div><div>            {</div><div>                "output": "/var/log/kea-dhcp4.log"</div><div>            }</div><div>        ],</div><div>        "severity": "DEBUG",</div><div>        "debuglevel": 10</div><div>      },</div><div>      {</div><div>          "name": "kea-dhcp-ddns",</div><div>          "output_options": [</div><div>              {</div><div>                  "output": "/var/log/kea-ddns.log"</div><div>              }</div><div>          ],</div><div>          "severity": "DEBUG",</div><div>          "debuglevel": 10</div><div>      }</div><div>  ]</div><div>}</div><div><br></div><div>}</div></div><div><br></div><div><br></div></div>