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

    If you PUT a NAME - FQDN instead of an IP address in for NTP servers KEA-DHCP will not start.

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 3 Posters 110 Views 3 Watching
    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.
    • B Offline
      badjoodani
      last edited by badjoodani

      Example:

      ERROR [kea-dhcp4.dhcp4.0x14eab5c12000] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/usr/local/etc/kea/kea-dhcp4.conf': option data does not match option definition (space: dhcp4, code: 42): Failed to convert string to address '0.north-america.pool.ntp.org': Invalid argument (/usr/local/etc/kea/kea-dhcp4.conf:77:33)

      S GertjanG 2 Replies Last reply Reply Quote 0
      • S Offline
        SteveITS Galactic Empire @badjoodani
        last edited by

        @badjoodani see https://forum.netgate.com/topic/184226/psa-kea-dhcp-does-not-like-dns-names-breaks-isc-to-kea-migration/10

        Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
        Upvote 👍 helpful posts!

        1 Reply Last reply Reply Quote 0
        • GertjanG Offline
          Gertjan @badjoodani
          last edited by

          @badjoodani said in If you PUT a NAME - FQDN instead of an IP address in for NTP servers KEA-DHCP will not start.:

          option data does not match option definition (space: dhcp4, code: 42): Failed to convert string to address '0.north-america.pool.ntp.org'

          This means that 'kea' isn't doing 'DNS' for you.
          It will not converting '0.north-america.pool.ntp.org' into one of these "15.204.87.223 23.143.196.199 158.51.99.19 83.147.242.172".
          Btw : ISC DHCP did't do that neither.

          Here : the doc : https://kea.readthedocs.io/en/kea-2.5.0/arm/dhcp4-srv.html and look for "ntp-server" on that page :

          f0be0c59-c19d-4840-bb47-9aae7a8b3f05-image.png

          That's an IPv4-address, not a host name. Or a pool name.
          ISC DHCP : was the same.

          Maybe, in the past, the pfSense GUI converted a host name into an IP ? I can't recall.

          Same question, a couple of years ago : KEA DHCP NTP server option behavior.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

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