Log

net/dns.lua @ 7021:f436446661ca

description author age
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
net/dns: Fixed regression causing nameserver initialization to fail on Windows Waqas Hussain Wed, 02 Sep 2009 19:23:02 +0500
net.dns: Automatically add nameserver 127.0.0.1 if /etc/resolv.conf missing or empty on a non-Windows system (thanks Louis Mamakos) Matthew Wild Tue, 18 Aug 2009 13:47:21 +0100
Remove version number from copyright headers Matthew Wild Fri, 10 Jul 2009 03:11:45 +0100
net.dns: Add support for cancelling a coroutine-based request Matthew Wild Tue, 26 May 2009 21:47:25 +0100
0.3->0.4 Matthew Wild Fri, 20 Mar 2009 20:16:25 +0000
net.dns: Add methods necessary for allowing non-blocking DNS lookups Matthew Wild Wed, 04 Mar 2009 12:58:56 +0000
0.2->0.3 Matthew Wild Fri, 30 Jan 2009 17:40:25 +0000
0.1 -> 0.2 Matthew Wild Wed, 10 Dec 2008 15:44:03 +0000
Insert copyright/license headers Matthew Wild Wed, 03 Dec 2008 14:39:07 +0000
Quickfix for dns.lua to not crash on failed connection to name servers Waqas Hussain Fri, 28 Nov 2008 22:47:22 +0500
Added temporary fix for srv on windows: using opendns nameservers Waqas Hussain Sun, 23 Nov 2008 10:43:50 +0500
Fix various mistakes in dns.lua Matthew Wild Sun, 23 Nov 2008 03:00:20 +0000
Fix dns for poor Windows users, who have never seen a resolv.conf Matthew Wild Sun, 23 Nov 2008 02:50:57 +0000
We have SRV resolving \o/ Matthew Wild Tue, 18 Nov 2008 22:41:04 +0000