Log

net/dns.lua @ 13212:3e6e98cc63e9

description author age
net: Prefix module imports with prosody namespace Kim Alvefur Fri, 17 Mar 2023 16:23:12 +0100
various: Update IETF RFC URLs for tools.ietf.org transition Kim Alvefur Fri, 05 Aug 2022 16:54:15 +0200
Spelling: Fix various spelling mistakes (thanks timeless) Kim Alvefur Mon, 07 Mar 2022 00:13:56 +0100
net.dns: Disable jitter for default resolver (used by blocking dns.lookup() calls) Matthew Wild Sun, 28 Jun 2020 12:02:10 +0100
net.dns: Reduce default timeout to 5s Matthew Wild Thu, 25 Jun 2020 15:34:29 +0100
net.dns: Increase backoff delays Matthew Wild Thu, 25 Jun 2020 15:31:20 +0100
net.dns: Add jitter to spread queries and reduce failures due to congestion Matthew Wild Thu, 25 Jun 2020 15:29:49 +0100
net.dns: Fix timeout retry logic Matthew Wild Thu, 25 Jun 2020 15:28:23 +0100
net.dns: Add some debug logging Matthew Wild Thu, 25 Jun 2020 15:22:40 +0100
net.dns: Handle being loaded outside of Prosody Kim Alvefur Mon, 24 Feb 2020 20:21:46 +0100
net.dns: Close resolv.conf handle when done (fixes #1342) 0.11 Kim Alvefur Sat, 13 Apr 2019 18:16:28 +0200
Merge 0.10->trunk Kim Alvefur Sun, 10 Jun 2018 17:56:38 +0200
net.dns: Lazily generate unknown RR type names Kim Alvefur Sun, 10 Jun 2018 17:45:49 +0200
Backed out changeset eae606b9266c: Used a lot of memory Kim Alvefur Sun, 10 Jun 2018 17:37:06 +0200
net.dns: Expand table of known RR types from IANA registry Kim Alvefur Sat, 09 Jun 2018 15:30:26 +0200
Merge 0.10->trunk Kim Alvefur Sat, 09 Jun 2018 15:47:59 +0200
net.dns: Syntesize type names for the full range Kim Alvefur Sat, 09 Jun 2018 15:34:00 +0200
net.dns: Don't attempt to cache unparsed data (fixes #1056) Kim Alvefur Sat, 09 Jun 2018 15:35:03 +0200
net.dns: Also cache records from the 'additional' section Kim Alvefur Sun, 03 Jun 2018 00:40:42 +0200
net.dns: Cache all records from the 'answer' section (fixes #487) Kim Alvefur Sat, 09 Jun 2018 00:02:06 +0200
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur Wed, 28 Feb 2018 20:06:26 +0100
Merge 0.10->trunk Kim Alvefur Fri, 01 Dec 2017 04:54:23 +0100
net.dns: Don't compress a single zero group in IPv6 addresses to match behaviour of inet_ntop Kim Alvefur Fri, 01 Dec 2017 04:50:20 +0100
net.dns: Use inet_ntop from util.net if available Kim Alvefur Wed, 29 Nov 2017 08:02:14 +0100
net.dns: Correctly apply lower bound of RTT (thanks Ge0rG) Kim Alvefur Sun, 24 Sep 2017 01:04:56 +0200
Merge 0.9->0.10 Kim Alvefur Tue, 13 Jun 2017 16:38:52 +0200
net.dns: Prevent answers from immediately expiring even if TTL=0 (see #919) Kim Alvefur Tue, 13 Jun 2017 16:36:47 +0200
Merge 0.9->0.10 Kim Alvefur Sat, 27 May 2017 16:42:50 +0200
net.dns: Simplify expiry calculation (fixes #919) Kim Alvefur Mon, 22 May 2017 05:32:11 +0200
net.dns: remove unused variable unpack [luacheck] Anton Shestakov Thu, 28 Jul 2016 15:39:48 +0800
net.dns: remove unused one-letter loop variables [luacheck] Anton Shestakov Thu, 14 Jul 2016 18:43:17 +0800
net.dns: don't use "for s,s in pairs..." (unused loop variable s) [luacheck] Anton Shestakov Sat, 09 Jul 2016 10:26:18 +0800
net.dns: remove unused one-letter loop variables [luacheck] Anton Shestakov Sat, 09 Jul 2016 00:45:59 +0800
net.dns: Import unpack() in forward-compatible way (Fixes compat with Lua5.2+) Kim Alvefur Mon, 28 Mar 2016 19:56:12 +0200
Merge 0.9->0.10 Kim Alvefur Fri, 22 Jan 2016 14:49:05 +0100
net.dns: Remember query only after it was sent, in case it was not (fixes #598) Kim Alvefur Thu, 21 Jan 2016 22:26:46 +0100
Merge 0.9->0.10 Kim Alvefur Fri, 08 Jan 2016 16:16:08 +0100
Backout 88d54bec26b7 prior to release, as it certainly requires more testing 0.9.9 Matthew Wild Fri, 08 Jan 2016 13:01:27 +0000
net.dns: Allow a zone id in resolv.conf (eg like %eth0) Kim Alvefur Mon, 04 Jan 2016 15:46:06 +0100
net.dns: Support IPv6 addresses in resolv.conf [Backported from 0.10] Florian Zeitz Tue, 18 Jun 2013 23:02:20 +0200
Merge 0.9->0.10 Matthew Wild Fri, 25 Sep 2015 16:51:42 +0100
net.dns: Unconditionally cache records found in answers Matthew Wild Mon, 25 May 2015 23:16:11 +0100
net.dns: Use new IPv4-specific socket factory if available (fixes dns on libevent with latest development version of luasocket) Kim Alvefur Fri, 25 Sep 2015 17:32:13 +0200
net.*: Remove use of module() function Kim Alvefur Sat, 21 Feb 2015 10:45:24 +0100
net.dns: Remove resolver:new(), as it needlessly and incorrectly duplicates dns.resolver() Matthew Wild Mon, 06 Jul 2015 19:11:39 +0100
Merge 0.9->0.10 Kim Alvefur Sun, 03 May 2015 18:38:39 +0200
net.dns: Make sure argument to math.randomseed does not overflow a 32 bit *signed* int (blame Lua). Closes #439 Kim Alvefur Sun, 26 Apr 2015 19:50:24 +0200
Merge 0.9->0.10 Kim Alvefur Sun, 26 Apr 2015 00:06:44 +0200
net.dns, mod_s2s: Add chasing of CNAMEs to net.dns and remove it from mod_s2s Kim Alvefur Fri, 24 Apr 2015 14:14:01 +0200
Merge 0.9 -> 0.10 Kim Alvefur Sun, 09 Nov 2014 20:30:04 +0100
net.dns: Try next server if peer name can not be set (thanks wirehack7) Kim Alvefur Thu, 30 Oct 2014 12:28:07 +0100
net.dns: Return new socket from servfail Kim Alvefur Thu, 30 Oct 2014 12:10:15 +0100
Merge 0.9->0.10 Kim Alvefur Sun, 05 Oct 2014 15:37:21 +0200
net.dns: Avoid duplicate cache entries Florian Zeitz Sun, 05 Oct 2014 14:28:40 +0200
Merge 0.9->0.10 Matthew Wild Fri, 25 Jul 2014 13:01:57 +0100
net.dns: Remove unused obsolete code Matthew Wild Fri, 25 Jul 2014 12:54:31 +0100
net.dns: Ensure all pending requests get notified of a timeout when looking up a record (fix for d122420542fb) Matthew Wild Fri, 25 Jul 2014 12:08:07 +0100
Merge 0.9->0.10 Kim Alvefur Mon, 30 Jun 2014 13:11:01 +0200
net.dns: Fix duplicated cache insertions by limiting outstanding queries per name to one Kim Alvefur Mon, 30 Jun 2014 12:45:53 +0200
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200