Browse Source

use tcp to locally query the registry

Miraty 10 months ago
parent
commit
6bf0196437
1 changed files with 1 additions and 0 deletions
  1. 1 0
      fn/common.php

+ 1 - 0
fn/common.php

@@ -32,6 +32,7 @@ function kdig(string $name, string $type, string $server = NULL): array {
 		$name,
 		'-t',
 		$type,
+		...(($server === CONF['reg']['address']) ? ['+tcp'] : []),
 		...(isset($server) ? ['@' . $server] : []),
 	], $output, $code);
 	if ($code !== 0)