Log

net/dns.lua @ 5365:cd480ea490f1

description author age
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