Commit Graph

75 Commits (5c1d94de1b67353da7e2c348379c8a8509a9e66a)

Author SHA1 Message Date
Kim Alvefur c68bed48e9 net.dns: Try next server if peer name can not be set (thanks wirehack7) 11 years ago
Kim Alvefur 450ee96e48 net.dns: Return new socket from servfail 11 years ago
Florian Zeitz 2b53ced362 net.dns: Avoid duplicate cache entries 11 years ago
Matthew Wild 7ff1520d7d net.dns: Remove unused obsolete code 12 years ago
Matthew Wild 4ed07e7947 net.dns: Ensure all pending requests get notified of a timeout when looking up a record (fix for d122420542fb) 12 years ago
Kim Alvefur 7ef57da047 net.dns: Fix duplicated cache insertions by limiting outstanding queries per name to one 12 years ago
Kim Alvefur 5b13d561ee net.dns, net.adns: Make sure errors from net.server are propagated (thanks asterix) 13 years ago
Kim Alvefur 694d42d322 net.dns: Add nicer API to cached records 13 years ago
Kim Alvefur cd8da4a60d net.dns: Make sure argument to math.randomseed does not overflow a 32 bit unsigned int. Closes #320 13 years ago
Kim Alvefur a7f6283a2e net.dns: Close voided sockets, so they don't stay in net.server 13 years ago
Matthew Wild 81b3ba1442 net.dns: Clean up query list when a server is marked down 13 years ago
Florian Zeitz a71b403617 s2smanager, net.dns: Fix handling for NXNAME and SRV target of "." 14 years ago
Matthew Wild 3df40be7ea net.dns: Preserve metatable on manual cache purge 14 years ago
Kim Alvefur 17c863797d net.dns: Shorten AAAA records 15 years ago
Matthew Wild db55e7da51 net.dns: Support for resolving AAAA records 15 years ago
Kim Alvefur 66a908d35f net.dns: Fix TXT records 15 years ago
Matthew Wild 75862530f2 net.dns: Fix tostring() for SRV records 15 years ago
Matthew Wild d3f1852729 net.dns: resolver:query(): Handle getsocket() failures, and return true on success 15 years ago
Matthew Wild b186a9c3bf net.dns: resolver:getsocket(): Return nil, err on failure 15 years ago
Matthew Wild 91b6b03395 net.dns: Clean up tostring() of returned records, as a result PTR records can now be tostring()'d 15 years ago
Matthew Wild b05ec98945 net.dns: Add resolver:tohostname() and dns.tohostname() 15 years ago
Matthew Wild 1f2665ff51 net.dns: resolver:query(): Handle getsocket() failures, and return true on success 15 years ago
Matthew Wild 24b4c74559 net.dns: resolver:getsocket(): Return nil, err on failure 15 years ago
Matthew Wild 83fc3aa616 net.dns: Clean up tostring() of returned records, as a result PTR records can now be tostring()'d 15 years ago
Matthew Wild a99ff085ab net.dns: Add resolver:tohostname() and dns.tohostname() 15 years ago
Waqas Hussain d359b28db2 net.dns: Removed dependency on util.ztact by moving ztact.get/set in. 15 years ago
Waqas Hussain d05d634f7a net.dns: Removed dependency on util.ztact by moving ztact.get/set in. 15 years ago
Waqas Hussain d82ce21414 net.dns: Fixed a traceback when util/windows.dll is unavailable on windows. 15 years ago
Waqas Hussain b7e51a203d Monster whitespace commit (beware the whitespace monster). 15 years ago
Matthew Wild 26cf54ee8b net.dns: Support for parsing PTR records 15 years ago
Matthew Wild 0f6754746c net.dns: Add 'force' parameter to resolver:feed() to force decoding a packet even if it doesn't match an outstanding request 15 years ago
Matthew Wild 1c51f969da net.dns: Call :cancel() on the current resolver instead of the prototype 16 years ago
Matthew Wild 90b0ef76c6 net.dns: Add dns.settimeout() to set the timeout for the default resolver 16 years ago
Matthew Wild d2b5e885a8 net.dns: Make timeout configurable (default 15s) 16 years ago
Matthew Wild cad77ed8cf 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 16 years ago
Matthew Wild e23e53d3b8 net.dns, net.adns: Move coroutine-calling logic into resolver:cancel() 16 years ago
Matthew Wild 4b2249df84 net.dns: Handle our own timeouts, including falling onto other servers in resolv.conf if necessary 16 years ago
Matthew Wild f2b14d6d07 net.dns: Remove redundant locals declaration 16 years ago
Matthew Wild fd55f81b12 net.dns: Remove redundant locals declaration 16 years ago
Matthew Wild 1107a66e72 net.dns: Fix dns.lookup from commit e54774bd73a7 16 years ago
Matthew Wild dbe5e5fc2b net.dns: Fix dns.lookup from commit e54774bd73a7 16 years ago
Matthew Wild a201db970b net.dns: Trailing whitespace 16 years ago
Matthew Wild 322f02b17f net.dns: More reliable parsing of resolv.conf - allow multiple nameserver IPs on one line (thanks dersd) 16 years ago
Matthew Wild d6548d9810 net.dns: Normalize records before placing them in the cache, fixes issues with CNAME targets in CAPS (fixes #161) 16 years ago
Matthew Wild 706c63594e net.dns: Update for new socket API 16 years ago
Waqas Hussain 9939a23f32 net.dns, net.adns: Changed dns:socket_wrapper_set to dns.socket_wrapper_set for consistency. 16 years ago
Waqas Hussain 958fddede9 net.dns: Fixed whitespace/indentation. 16 years ago
Waqas Hussain 667b411e63 net.dns: Removed unused function. 16 years ago
Waqas Hussain 588d6d7490 net.dns: Removed some useless indirection to improve readability. 16 years ago
Matthew Wild df3d5883ca net.dns: Make sure math.randomseed() gets passed an integer 16 years ago