aboutsummaryrefslogtreecommitdiffstats
path: root/net/dns.lua
Commit message (Collapse)AuthorAgeFilesLines
* net.dns: Prevent answers from immediately expiring even if TTL=0 (see #919)Kim Alvefur2017-06-131-1/+1
|
* net.dns: Simplify expiry calculation (fixes #919)Kim Alvefur2017-05-221-8/+2
|
* net.dns: Remember query only after it was sent, in case it was not (fixes #598)Kim Alvefur2016-01-211-5/+5
|
* Backout 88d54bec26b7 prior to release, as it certainly requires more testingMatthew Wild2016-01-081-1/+3
|
* net.dns: Allow a zone id in resolv.conf (eg like %eth0)Kim Alvefur2016-01-041-1/+1
|
* net.dns: Support IPv6 addresses in resolv.conf [Backported from 0.10]Florian Zeitz2013-06-181-6/+13
|
* net.dns: Unconditionally cache records found in answersMatthew Wild2015-05-251-3/+1
|
* net.dns: Make sure argument to math.randomseed does not overflow a 32 bit ↵Kim Alvefur2015-04-261-1/+1
| | | | *signed* int (blame Lua). Closes #439
* net.dns, mod_s2s: Add chasing of CNAMEs to net.dns and remove it from mod_s2sKim Alvefur2015-04-241-3/+8
|
* net.dns: Try next server if peer name can not be set (thanks wirehack7)Kim Alvefur2014-10-301-6/+10
|
* net.dns: Return new socket from servfailKim Alvefur2014-10-301-3/+4
|
* net.dns: Avoid duplicate cache entriesFlorian Zeitz2014-10-051-4/+9
|
* net.dns: Remove unused obsolete codeMatthew Wild2014-07-251-4/+1
|
* net.dns: Ensure all pending requests get notified of a timeout when looking ↵Matthew Wild2014-07-251-5/+5
| | | | up a record (fix for d122420542fb)
* net.dns: Fix duplicated cache insertions by limiting outstanding queries per ↵Kim Alvefur2014-06-301-1/+8
| | | | name to one
* net.dns, net.adns: Make sure errors from net.server are propagated (thanks ↵Kim Alvefur2013-07-101-1/+1
| | | | asterix)
* net.dns: Add nicer API to cached recordsKim Alvefur2013-05-071-0/+4
|
* net.dns: Make sure argument to math.randomseed does not overflow a 32 bit ↵Kim Alvefur2013-03-051-1/+1
| | | | unsigned int. Closes #320
* net.dns: Close voided sockets, so they don't stay in net.serverKim Alvefur2012-12-221-0/+1
|
* net.dns: Clean up query list when a server is marked downMatthew Wild2012-12-221-0/+5
|
* s2smanager, net.dns: Fix handling for NXNAME and SRV target of "."Florian Zeitz2011-10-261-0/+1
|
* net.dns: Preserve metatable on manual cache purgeMatthew Wild2011-10-191-1/+1
|
* net.dns: Shorten AAAA recordsKim Alvefur2011-09-021-1/+12
|
* net.dns: Support for resolving AAAA recordsMatthew Wild2011-05-161-0/+8
|
* net.dns: Fix TXT recordsKim Alvefur2011-04-151-1/+1
|
* net.dns: Fix tostring() for SRV recordsMatthew Wild2011-01-211-10/+7
|
* net.dns: resolver:query(): Handle getsocket() failures, and return true on ↵Matthew Wild2010-12-241-7/+12
| | | | success
* net.dns: resolver:getsocket(): Return nil, err on failureMatthew Wild2010-12-241-1/+5
|
* net.dns: Clean up tostring() of returned records, as a result PTR records ↵Matthew Wild2010-12-141-22/+17
| | | | can now be tostring()'d
* net.dns: Add resolver:tohostname() and dns.tohostname()Matthew Wild2010-12-141-0/+7
|
* net.dns: Removed dependency on util.ztact by moving ztact.get/set in.Waqas Hussain2010-12-091-5/+43
|
* net.dns: Fixed a traceback when util/windows.dll is unavailable on windows.Waqas Hussain2010-10-221-1/+1
|
* Monster whitespace commit (beware the whitespace monster).Waqas Hussain2010-10-161-9/+9
|
* net.dns: Support for parsing PTR recordsMatthew Wild2010-10-061-0/+3
|
* net.dns: Add 'force' parameter to resolver:feed() to force decoding a packet ↵Matthew Wild2010-10-051-2/+2
| | | | even if it doesn't match an outstanding request
* net.dns: Call :cancel() on the current resolver instead of the prototypeMatthew Wild2010-07-141-1/+1
|
* net.dns: Add dns.settimeout() to set the timeout for the default resolverMatthew Wild2010-07-051-0/+4
|
* net.dns: Make timeout configurable (default 15s)Matthew Wild2010-07-051-4/+9
|
* net.dns, net.adns: Update resolver:cancel() API so that a table doesn't need ↵Matthew Wild2010-07-051-5/+5
| | | | to be created for each cancellation internal to net.dns
* net.dns, net.adns: Move coroutine-calling logic into resolver:cancel()Matthew Wild2010-07-051-1/+4
|
* net.dns: Handle our own timeouts, including falling onto other servers in ↵Matthew Wild2010-07-051-1/+25
| | | | resolv.conf if necessary
* net.dns: Remove redundant locals declarationMatthew Wild2010-05-201-1/+0
|
* net.dns: Fix dns.lookup from commit e54774bd73a7Matthew Wild2010-05-201-1/+1
|
* net/dns: Fix socket.select timeout.Brian Cully2009-12-281-1/+8
|
* net.dns: Trailing whitespaceMatthew Wild2010-03-051-2/+2
|
* net.dns: More reliable parsing of resolv.conf - allow multiple nameserver ↵Matthew Wild2010-03-051-2/+7
| | | | IPs on one line (thanks dersd)
* net.dns: Normalize records before placing them in the cache, fixes issues ↵Matthew Wild2010-02-121-4/+5
| | | | with CNAME targets in CAPS (fixes #161)
* net.dns: Update for new socket APIMatthew Wild2010-02-121-1/+1
|
* net.dns, net.adns: Changed dns:socket_wrapper_set to dns.socket_wrapper_set ↵Waqas Hussain2010-02-101-1/+1
| | | | for consistency.
* net.dns: Fixed whitespace/indentation.Waqas Hussain2010-02-101-3/+2
|