mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixes check_dns against localhost when a search-domain is configured (#15373)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
if ($service['service_param']) {
|
||||
$nsquery = $service['service_param'];
|
||||
} else {
|
||||
$nsquery = 'localhost';
|
||||
$nsquery = 'localhost.';
|
||||
}
|
||||
if ($service['service_ip']) {
|
||||
$resolver = $service['service_ip'];
|
||||
|
||||
Reference in New Issue
Block a user