Hi there,

migrating from isc dhcpd to kea I'm stuck at an update problem:

- Why does the client not appear in the files for bind?

- Where does the start of epoch for the lease expiring time come from?




May 19 09:21:23 mydns.example.net systemd[1]: Started Kea DHCP-DDNS Server.
May 19 09:21:23 mydns.example.net kea-dhcp-ddns[8285]: 2021-05-19 09:21:23.986 INFO  [kea-dhcp-ddns.dctl/8285.140264408700800] DCTL_STARTING DhcpDdns starting, pid: 8285, version: 1.9.4 (development) May 19 09:21:23 mydns.example.net kea-dhcp-ddns[8285]: 2021-05-19 09:21:23.986 WARN  [kea-dhcp-ddns.dctl/8285.140264408700800] DCTL_DEVELOPMENT_VERSION This software is a development branch of Kea. It is not recommended for production use. May 19 09:21:23 mydns.example.net kea-dhcp-ddns[8285]: 2021-05-19 09:21:23.988 INFO  [kea-dhcp-ddns.dctl/8285.140264408700800] DCTL_CONFIG_COMPLETE server has completed configuration: listening on 127.0.0.1, port 53001, using UDP May 19 09:21:23 mydns.example.net kea-dhcp-ddns[8285]: 2021-05-19 09:21:23.988 INFO  [kea-dhcp-ddns.dhcpddns/8285.140264408700800] DHCP_DDNS_STARTED Kea DHCP-DDNS server version 1.9.4 started May 19 09:24:54 mydns.example.net kea-dhcp-ddns[8285]: 2021-05-19 09:24:54.433 INFO  [kea-dhcp-ddns.d2-to-dns/8285.140264408700800] DHCP_DDNS_ADD_SUCCEEDED DHCP_DDNS Request ID 000101AE27F0AE01941FAC694B9FFCD31C712803DECECEBD2658BB2E55B43A4F23BA0A: successfully added the DNS mapping addition for this request: Type: 0 (CHG_ADD)
May 19 09:24:54 mydns.example.net kea-dhcp-ddns[8285]: Forward Change: yes
May 19 09:24:54 mydns.example.net kea-dhcp-ddns[8285]: Reverse Change: yes
May 19 09:24:54 mydns.example.net kea-dhcp-ddns[8285]: FQDN: [raven.office.example.net.] May 19 09:24:54 mydns.example.net kea-dhcp-ddns[8285]: IP Address: [10.0.20.148] May 19 09:24:54 mydns.example.net kea-dhcp-ddns[8285]: DHCID: [000101AE27F0AE01941FAC694B9FFCD31C712803DECECEBD2658BB2E55B43A4F23BA0A] May 19 09:24:54 mydns.example.net kea-dhcp-ddns[8285]: Lease Expires On: 20210519074454
May 19 09:24:54 mydns.example.net kea-dhcp-ddns[8285]: Lease Length: 1200
May 19 09:24:54 mydns.example.net kea-dhcp-ddns[8285]: Conflict Resolution: yes May 19 09:24:55 mydns.example.net kea-dhcp-ddns[8285]: 2021-05-19 09:24:55.285 ERROR [kea-dhcp-ddns.d2-to-dns/8285.140264408700800] DHCP_DDNS_FORWARD_REPLACE_REJECTED DNS Request ID 00020154961A8AFA3B84BB4D8B420772A8884B91C414901A36683FB9F49993C62C642D: Server, 127.0.0.1 port:53, rejected a DNS update request to replace the address mapping for FQDN, raven.office.example.net., with an RCODE: 8 May 19 09:24:55 mydns.example.net kea-dhcp-ddns[8285]: 2021-05-19 09:24:55.285 ERROR [kea-dhcp-ddns.d2-to-dns/8285.140264408700800] DHCP_DDNS_ADD_FAILED DHCP_DDNS Request ID 00020154961A8AFA3B84BB4D8B420772A8884B91C414901A36683FB9F49993C62C642D: Transaction outcome Status: Failed, Event: UPDATE_FAILED_EVT, Forward change: failed,  Reverse change: failed,  request: Type: 0 (CHG_ADD)
May 19 09:24:55 mydns.example.net kea-dhcp-ddns[8285]: Forward Change: yes
May 19 09:24:55 mydns.example.net kea-dhcp-ddns[8285]: Reverse Change: yes
May 19 09:24:55 mydns.example.net kea-dhcp-ddns[8285]: FQDN: [raven.office.example.net.] May 19 09:24:55 mydns.example.net kea-dhcp-ddns[8285]: IP Address: [fd00:20::21] May 19 09:24:55 mydns.example.net kea-dhcp-ddns[8285]: DHCID: [00020154961A8AFA3B84BB4D8B420772A8884B91C414901A36683FB9F49993C62C642D] May 19 09:24:55 mydns.example.net kea-dhcp-ddns[8285]: Lease Expires On: 19700101000000
May 19 09:24:55 mydns.example.net kea-dhcp-ddns[8285]: Lease Length: 1333
May 19 09:24:55 mydns.example.net kea-dhcp-ddns[8285]: Conflict Resolution: yes




---------------------------------------------------------------------------------------------

** kea-dhcp-ddns.conf

// -*- mode: js; -*-

{

    "DhcpDdns":
    {

    "ip-address": "127.0.0.1",

    "tsig-keys":
    [
        <?include "/etc/kea/keys"?>
    ],

    "forward-ddns" : {
            "ddns-domains":
            [
            <?include "/etc/kea/4/domains/forward/storage"?>,
            <?include "/etc/kea/4/domains/forward/office"?>,
            <?include "/etc/kea/4/domains/forward/collaboration.office"?>,
            <?include "/etc/kea/4/domains/forward/wireless.office"?>
        ]
    },

    "reverse-ddns" : {
            "ddns-domains":
            [
            <?include "/etc/kea/4/domains/reverse/storage"?>,
            <?include "/etc/kea/4/domains/reverse/office"?>,
            <?include "/etc/kea/4/domains/reverse/collaboration.office"?>,
            <?include "/etc/kea/4/domains/reverse/wireless.office"?>,

            <?include "/etc/kea/6/domains/reverse/storage"?>,
            <?include "/etc/kea/6/domains/reverse/office"?>
            // <?include "/etc/kea/6/domains/reverse/collaboration.office"?>,
            // <?include "/etc/kea/6/domains/reverse/wireless.office"?>

            ]
    },

    "loggers": [{
            "name": "*",
            "severity": "DEBUG"
        }]

    }
}


---------------------------------------------------------------------------------------------

# cat /etc/kea/4/domains/reverse/office
// -*- mode: js; -*-

{
    "name": "20.0.10.in-addr.arpa.",
    "key-name": "DHCP_UPDATER",
    "dns-servers":
    [
    {
            "ip-address": "127.0.0.1"
    }
    ]
}

---------------------------------------------------------------------------------------------

# cat /etc/kea/6/domains/reverse/office
// -*- mode: js; -*-

{
    "name": "0.0.0.0.0.0.0.0.0.2.0.0.0.0.d.f.ip6.arpa.",
    "key-name": "DHCP_UPDATER",
    "dns-servers":
    [
    {
            "ip-address": "127.0.0.1"
    }
    ]
}

---------------------------------------------------------------------------------------------


** forward


$ORIGIN .
$TTL 21600      ; 6 hours
office.example.net IN SOA  mydns.example.net. root.mydns.example.net. (
                                2020022513 ; serial
                                21600      ; refresh (6 hours)
                                3600       ; retry (1 hour)
                                604800     ; expire (1 week)
                                86400      ; minimum (1 day)
                                )
                        NS      mydns.example.net.
$ORIGIN office.example.net.
gw                      A       10.0.20.1
                        AAAA    fd00:20::1
$TTL 1800       ; 30 minutes
magpie                  A       10.0.20.118
                        TXT "31731ad8d2dc7e5bf8e9bb2470bf01fa35"
$TTL 1125       ; 18 minutes 45 seconds
                        AAAA    fd00:20::c0
                        DHCID   ( AAIBIFHhGkxPDw+JPfs9rNGac1erqtdmpNZKvioQVKIo
                                QdA= ) ; 2 1 32


---------------------------------------------------------------------------------------------

** reverse

$ORIGIN .
$TTL 21600      ; 6 hours
0.0.0.0.0.0.0.0.0.2.0.0.0.0.d.f.ip6.arpa IN SOA mydns.example.net. root.mydns.example.net. (
                                2020023089 ; serial
                                21600      ; refresh (6 hours)
                                3600       ; retry (1 hour)
                                604800     ; expire (1 week)
                                86400      ; minimum (1 day)
                                )
                        NS      mydns.example.net.
$ORIGIN 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.0.0.d.f.ip6.arpa.
1.0                     PTR     gw.office.example.net.
$TTL 1125       ; 18 minutes 45 seconds
0.c                     PTR     magpie.office.example.net.


_______________________________________________
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to