Saturday, September 20, 2025

ISC DHCP Migration to KEA

My humble advice is don’t. KEA is a boat-load of work and disappointment. From functional changes to design decisions, you will only find complexity and loss.

 

Lets start with comments in the configuration file. Their major design decision to use JSON (JavaScript Object Notation), a data interchange format. While it is “human readable” it is NOT inherently a configuration file format. Comments in ISC DHCP where text sequences started with #. Useful everywhere as any text following a # on a line, is ignored. In KEA comments become a JSON object in a JSON array. So here is an example:

"user-context": {

            "comment": "second floor",

            "floor": 2

        }

You can no longer put it where you need it. It doesn’t help with organizing the elements of the configuration. You can’t comment-out something you don’t need right now, but don’t want to delete. And, frankly, it makes the configuration more obscure and significantly more work. This is just a bad design decision; period.

 

Verbosity:

From ISC DHCP configuration of hosts the simple statement:

option host-name "server-one";

becomes lots of name/value pairs:

“option-data”:  [

      {

        “space”:”dhcp4”,

        ”name”:”host-name”,

        ”code”:12,

        ”data”:”server-one”

     }

   ]

 

From ISC DHCP logging:

log-facility local6;

becomes this simple JSON array:

"loggers": [

      {

        "name": "kea-dhcp4",

        "output_options": [

          {"output":"/var/log/kea-dhcp4.log"},

          {"output":"stdout"}

        ],

        "severity": "INFO",

        "debuglevel": 0

      }

    ],

 

Let’s move on to functional changes:

 

“ddns-updates”: true/false scope has been moved from “subnet” and “host” to a global “enable-updates: true/false”. Isn’t this a loss of functionality?

“update-static-leases” is obsolete. I have no idea what replaces it if anything.

“qualifying-suffix” has been rescoped from “subnet” to global.

Dynamic DNS updates has been moved to a separate server (D2) which must be separately configured from the KEA DHCP server and managed.


The above is not an exhaustive analysis, but an experiential slice.  
My guess is that ISC DHCP, even since it has been deprecated, will be around for some time to come. It is stable and it works, at least for LAN use.

 

Tuesday, April 8, 2025

Synology RS815+ Would NOT power on

I did a lot of surfing in search of an answer and experimenting. In my case it wasn't:

the power cord
the power supply
the latching transistor (Q4 I think)

It was just the mainboard battery CR1220!

The battery holder is both tenacious and fragile. So be careful when removing the battery. Prying it up from just below the battery while putting some outward pressure on two of the four "clips" should do the trick.

BTW. There are two knurled knobs on the back of the unit that hold in the mainboard which slides out. 

After replacing the battery, the unit powered up with no problems. It must be a required input to the power-up sequence. Live and learn.