Thanks so much for both replies. I made the changes you mentioned. I found I also had to change the ip-addess to the ip address of the server. When I had it as 127.0.0.1, I was getting a corrupt reply error from the DNS Server in the logs. Thankfully now, the server is updating. I have just one last error now that I am trying to figure out. This is in the kea-dhcp-ddns.conf file. I keep getting the error :

 

INFO/keactrl: Starting /usr/local/sbin/kea-dhcp-ddns -c /usr/local/etc/kea/kea-dhcp-ddns.conf

2020-06-09 23:13:15.700 FATAL [kea-dhcp-ddns.dctl/72504] DCTL_CONFIG_FILE_LOAD_FAIL DhcpDdns reason: Configuration parsing failed: /usr/local/etc/kea/kea-dhcp-ddns.conf:28.3-11: syntax error, unexpected loggers, expecting "," or }

 

I get this when I enable the logging section in the file. I am not sure why. I pretty much used the defaults from the sample file. I even compared my file with the sample file and everything there is the same except that I enabled debugging in mine.

 

Please note my entire kea-dhcp-ddns.conf below. I have been going through but I can’t seem to find a syntax error.

 

{

{

"DhcpDdns": {

 

  "tsig-keys": [

          {

            "name": "homelocal.key",

            "algorithm": "HMAC-SHA256",

            "secret": "jo/1eHCej8eFTY2aqvICCNINVvbbv9KuEU="

          }

               ],

 

  "forward-ddns": {

                       "ddns-domains": [

                       {

                        "name": "home.local.",

                        "key-name": "homelocal.key",

                        "dns-servers": [

                           {

                            "hostname": "",

                            "ip-address": "192.168.40.10",

                            "port": 53

                           }

                        ]

                       }

                       ]

                   }

 

   "loggers": [

    {

        "name": "kea-dhcp-ddns",

        "output_options": [

            {

                "output": "/var/log/kea-ddns.log"

 

            }

        ],

        "severity": "DEBUG",

     // If DEBUG level is specified, this value is used. 0 is least verbose,

        // 99 is most verbose. Be cautious, Kea can generate lots and lots

        // of logs if told to do so.

        "debuglevel": 99

    }

  ]

}

}

 

 

Sent from Mail for Windows 10

 

From: Joshua Schaeffer
Sent: Tuesday, June 9, 2020 1:06 PM
To: [email protected]
Subject: Re: [Kea-users] DDNS Error

 

 

On 6/9/20 11:28 AM, Stephen Morris wrote:

2. In the "forward-ddns" section of the kea-dhcp-ddns.conf configuration

file, "key-name" is set to blank, so no key is being used to communicate
with the BIND server.  However, in the BIND configuration, the
"allow-update" clause means that BIND requires a key in order to update
the "home.local" zone.
 
3. The name of the only defined key in the kea-dhcp-ddns configuration
is "homelocal.key." (i.e. with a trailing period), but the name of the
key in BIND is "homelocal.key" (without the trailing period).  Assuming
the defined key is the one that should be used to communicate with BIND,
the names should match.

I'd agree with Stephen that you need to make sure your key-name is specified in the forward-ddns section and that it matches the key name that BIND is configured to use. In addition to this you are getting an RCODE response, which means that you are getting an error from the DNS server. As you have DNS logs set to debug you should look through those logs to see if the DNS server will give you more information about the specifics of the error.

-- 
Thanks,
Joshua Schaeffer

 

_______________________________________________
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