Can't autodiscover new devices

Hi guys.

I have an issue with autodiscovery. It did find quite a few devices, but it will not find new.

When I do a debug on discovery process it gives a reason of Discovery failed: ‘hostname’ is not a valid ip or dns name.

The devices are visible through XDP and OSPF modules. Reverse lookup through OSPF module works normally.

When I do a dig on ‘hostname’ it resolves normally. Furthermore the device can be added manually.

I did a tcpdump for DNS traffic and noticed that the server doesn’t make queries for problematic devices.

Help would be greatly appreciated.

Validate output below.

===========================================

Component Version
LibreNMS 24.7.0-11-ge6f02ea7f (2024-07-21T20:03:32+02:00)
DB Schema 2024_07_13_133839_modify_ent_physical_defaults (295)
PHP 8.1.27
Python 3.9.18
Database MariaDB 10.5.22-MariaDB
RRDTool 1.7.2
SNMP 5.9.1
===========================================

[OK] Composer Version: 2.7.7
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok

Best regards.