PostgreSQL add hosts in db
Hello,
I configure the Kea DHCP with a postgresql database.
I configured to add lease in this database and it works
"lease-database": {
"type": "postgresql",
"name": "dhcp",
"user": "kea",
"password": "toto",
"host": "localhost",
"port": 5432
},
I configured also to add a host
"hosts-database": {
"type": "postgresql",
"name": "dhcp",
"user": "kea",
"password": "toto",
"host": "localhost",
"port": 5432
},
But I have nothing in my database after the connection of a new host
host_id | dhcp_identifier | dhcp_identifier_type | dhcp4_subnet_id | dhcp6_subnet_id | ipv4_address | hostname | dhcp4_client_classes | dhcp6_client_classes | dhcp4_next_server | dhcp4_server_hostname | dhcp4_boot_file_name | user_context | auth_key
---------+-----------------+----------------------+-----------------+-----------------+--------------+----------+----------------------+----------------------+-------------------+-----------------------+----------------------+--------------+----------
(0 rows)
Do you have an idea ? I miss an element or I don't understand something ?
Thank you in advance,