Log

net/dns.lua @ 9524:1f6f3b941eb1

description author age
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
Merge 0.9->trunk Kim Alvefur Wed, 10 Jul 2013 07:47:54 +0200
net.dns, net.adns: Make sure errors from net.server are propagated (thanks asterix) Kim Alvefur Wed, 10 Jul 2013 07:45:10 +0200
net.dns: Support IPv6 addresses in resolv.conf Florian Zeitz Tue, 18 Jun 2013 23:02:20 +0200
net.dns: Add nicer API to cached records Kim Alvefur Tue, 07 May 2013 16:51:25 +0200
net.dns: Make sure argument to math.randomseed does not overflow a 32 bit unsigned int. Closes #320 Kim Alvefur Tue, 05 Mar 2013 10:04:31 +0100
net.dns: Close voided sockets, so they don't stay in net.server Kim Alvefur Sat, 22 Dec 2012 14:20:12 +0100
net.dns: Clean up query list when a server is marked down Matthew Wild Sat, 22 Dec 2012 12:06:36 +0000
s2smanager, net.dns: Fix handling for NXNAME and SRV target of "." Florian Zeitz Wed, 26 Oct 2011 02:03:33 +0200
net.dns: Preserve metatable on manual cache purge Matthew Wild Wed, 19 Oct 2011 16:21:56 -0400
net.dns: Shorten AAAA records Kim Alvefur Fri, 02 Sep 2011 18:54:42 +0200
net.dns: Support for resolving AAAA records Matthew Wild Mon, 16 May 2011 19:33:02 +0100
net.dns: Fix TXT records Kim Alvefur Fri, 15 Apr 2011 00:54:10 +0200
net.dns: Fix tostring() for SRV records Matthew Wild Fri, 21 Jan 2011 14:02:02 +0000
net.dns: resolver:query(): Handle getsocket() failures, and return true on success Matthew Wild Fri, 24 Dec 2010 04:52:13 +0000
net.dns: resolver:getsocket(): Return nil, err on failure Matthew Wild Fri, 24 Dec 2010 04:51:34 +0000
net.dns: Clean up tostring() of returned records, as a result PTR records can now be tostring()'d Matthew Wild Tue, 14 Dec 2010 18:29:40 +0000
net.dns: Add resolver:tohostname() and dns.tohostname() Matthew Wild Tue, 14 Dec 2010 18:28:42 +0000
net.dns: Removed dependency on util.ztact by moving ztact.get/set in. Waqas Hussain Thu, 09 Dec 2010 23:22:21 +0500
net.dns: Fixed a traceback when util/windows.dll is unavailable on windows. Waqas Hussain Fri, 22 Oct 2010 10:45:45 +0500
Monster whitespace commit (beware the whitespace monster). Waqas Hussain Sat, 16 Oct 2010 23:00:42 +0500
net.dns: Support for parsing PTR records Matthew Wild Wed, 06 Oct 2010 00:13:24 +0100
net.dns: Add 'force' parameter to resolver:feed() to force decoding a packet even if it doesn't match an outstanding request Matthew Wild Tue, 05 Oct 2010 18:55:17 +0100
net.dns: Call :cancel() on the current resolver instead of the prototype Matthew Wild Wed, 14 Jul 2010 15:32:14 +0100
net.dns: Add dns.settimeout() to set the timeout for the default resolver Matthew Wild Mon, 05 Jul 2010 12:13:55 +0100
net.dns: Make timeout configurable (default 15s) Matthew Wild Mon, 05 Jul 2010 12:09:50 +0100
net.dns, net.adns: Update resolver:cancel() API so that a table doesn't need to be created for each cancellation internal to net.dns Matthew Wild Mon, 05 Jul 2010 12:05:46 +0100
net.dns, net.adns: Move coroutine-calling logic into resolver:cancel() Matthew Wild Mon, 05 Jul 2010 11:51:17 +0100
net.dns: Handle our own timeouts, including falling onto other servers in resolv.conf if necessary Matthew Wild Mon, 05 Jul 2010 11:50:21 +0100
net.dns: Remove redundant locals declaration Matthew Wild Thu, 20 May 2010 10:46:08 +0100
net.dns: Fix dns.lookup from commit e54774bd73a7 Matthew Wild Thu, 20 May 2010 10:45:29 +0100
net/dns: Fix socket.select timeout. Brian Cully Mon, 28 Dec 2009 19:49:55 +0500
Merge 0.6.2/waqas with 0.6.2/MattJ Matthew Wild Wed, 03 Mar 2010 22:05:05 +0000
net.dns: Normalize records before placing them in the cache, fixes issues with CNAME targets in CAPS (fixes #161) Matthew Wild Fri, 12 Feb 2010 15:05:48 +0000
net.dns: Make sure math.randomseed() gets passed an integer Matthew Wild Thu, 07 Jan 2010 01:26:01 +0000
net.dns: Fix for blocking dns lookups to find waiting coroutines correctly (not that we use this in Prosody...) Matthew Wild Thu, 03 Dec 2009 01:13:06 +0000
net.dns: Port some DNS fixes to the resolver:feed() function for net.adns to use Matthew Wild Thu, 03 Dec 2009 01:10:08 +0000
net.dns: Trailing whitespace Matthew Wild Fri, 05 Mar 2010 18:33:28 +0000
net.dns: More reliable parsing of resolv.conf - allow multiple nameserver IPs on one line (thanks dersd) Matthew Wild Fri, 05 Mar 2010 18:15:08 +0000
net.dns: Normalize records before placing them in the cache, fixes issues with CNAME targets in CAPS (fixes #161) Matthew Wild Fri, 12 Feb 2010 15:05:48 +0000
net.dns: Update for new socket API Matthew Wild Fri, 12 Feb 2010 15:02:57 +0000
net.dns, net.adns: Changed dns:socket_wrapper_set to dns.socket_wrapper_set for consistency. Waqas Hussain Wed, 10 Feb 2010 01:58:49 +0500
net.dns: Fixed whitespace/indentation. Waqas Hussain Wed, 10 Feb 2010 00:46:04 +0500
net.dns: Removed unused function. Waqas Hussain Wed, 10 Feb 2010 00:38:07 +0500
net.dns: Removed some useless indirection to improve readability. Waqas Hussain Wed, 10 Feb 2010 00:34:30 +0500
net.dns: Make sure math.randomseed() gets passed an integer Matthew Wild Thu, 07 Jan 2010 01:26:01 +0000
net.dns: Update synchronous path for new connection API Brian Cully Mon, 21 Dec 2009 17:03:47 +0000
net.dns: Fix for blocking dns lookups to find waiting coroutines correctly (not that we use this in Prosody...) Matthew Wild Thu, 03 Dec 2009 01:13:06 +0000
net.dns: Port some DNS fixes to the resolver:feed() function for net.adns to use Matthew Wild Thu, 03 Dec 2009 01:10:08 +0000
modulemanager, net.dns: Remove trailing whitespace Matthew Wild Wed, 02 Dec 2009 20:32:44 +0000
net.dns: Be more strict about the records we cache Matthew Wild Wed, 18 Nov 2009 01:09:09 +0000
net.dns: Be more strict about checking the DNS replies we receive Matthew Wild Wed, 18 Nov 2009 01:05:38 +0000
net.dns: Fixed indentation and coding style. Waqas Hussain Mon, 02 Nov 2009 01:57:33 +0500
net.dns: Initialize default resolver on module load (instead of on first use). Waqas Hussain Mon, 02 Nov 2009 00:52:35 +0500
net.dns: Updated to use util.windows.get_nameservers for enumerating nameservers on Windows. Waqas Hussain Mon, 02 Nov 2009 00:46:43 +0500
net.dns: Don't expire records with TTL of 0 instantly Matthew Wild Wed, 21 Oct 2009 00:01:50 +0100
net.dns: Don't cache some records indefinitely Matthew Wild Sat, 17 Oct 2009 17:56:51 +0100
Merge with 0.5 Matthew Wild Tue, 13 Oct 2009 11:13:52 +0100
net.dns: Remove sockets from socketset when closing them, fixes a leak Matthew Wild Tue, 13 Oct 2009 11:12:49 +0100
Merge with 0.5 Matthew Wild Sun, 27 Sep 2009 12:26:51 +0100
net.dns: Even better parsing of nameservers from resolv.conf Matthew Wild Fri, 25 Sep 2009 01:35:46 +0100
Merge with 0.5 Matthew Wild Thu, 24 Sep 2009 23:47:16 +0100
net.dns: Remove elements from the cache when expired so as to not leave holes in the array Matthew Wild Thu, 24 Sep 2009 23:46:12 +0100
net.dns: Stricter matching of nameserver entries in resolv.conf Matthew Wild Thu, 24 Sep 2009 23:25:18 +0100
Merge with 0.5 Matthew Wild Thu, 24 Sep 2009 11:16:25 +0100
net.dns: Respect commented nameserver entries in resolv.conf (thanks Remko) Matthew Wild Thu, 24 Sep 2009 11:14:05 +0100
net.dns: Accidentally committed a hard-coded 4.2.2.1 nameserver Matthew Wild Mon, 21 Sep 2009 14:42:01 +0100
net.dns: (for some reason this commit didn't pull over from 0.5) Remove hard-coded 4.2.2.1 from dns.lua Matthew Wild Mon, 21 Sep 2009 14:46:12 +0100
Merge with 0.5 Matthew Wild Mon, 21 Sep 2009 14:42:29 +0100
core.s2smanager: Don't recurse CNAMEs infinitely :) Matthew Wild Mon, 21 Sep 2009 14:40:14 +0100
Merge with 0.5 Matthew Wild Fri, 18 Sep 2009 02:48:52 +0100
net.dns: Multiple internal changes and API extensions to allow for more reliable DNS lookups Matthew Wild Fri, 18 Sep 2009 02:45:15 +0100