diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/utils.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/utils.php b/includes/utils.php index 993300b..887f0d5 100644 --- a/includes/utils.php +++ b/includes/utils.php @@ -261,7 +261,7 @@ function hostname_to_ip_address($hostname) { } foreach ($dns_record as $record) { - if ($record['type'] == 'AAA') { + if ($record['type'] == 'A') { return $record['ipv4']; } } |