Software / code / prosody
File
teal-src/util/net.d.tl @ 11617:166f8e1d82b0
util.prosodyctl.check: Ensure that libunbound does not check hosts file
This fixes wrongly reported DNS problems on some distros where the hosts
file contains an entry for the local machine, pointing at a loopback
address such as 127.0.1.1 or similar.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 20 Jun 2021 17:51:44 +0200 |
| parent | 11577:60bee6822d79 |
line wrap: on
line source
local enum type_strings "both" "ipv4" "ipv6" end local record lib local_addresses : function (type_strings, boolean) : { string } pton : function (string):string ntop : function (string):string end return lib