Commit Graph

80 Commits (b7ed261e7dfd367f3bc5a8bef654b91ba74feb97)

Author SHA1 Message Date
Kim Alvefur d4223ff4d9 net.dns: Allow a zone id in resolv.conf (eg like %eth0) 10 years ago
Florian Zeitz 8a6298f134 net.dns: Support IPv6 addresses in resolv.conf [Backported from 0.10] 13 years ago
Matthew Wild 08654345bc net.dns: Unconditionally cache records found in answers 11 years ago
Kim Alvefur 08118a3d91 net.dns: Make sure argument to math.randomseed does not overflow a 32 bit *signed* int (blame Lua). Closes #439 11 years ago
Kim Alvefur f458d7b46d net.dns, mod_s2s: Add chasing of CNAMEs to net.dns and remove it from mod_s2s 11 years ago
Kim Alvefur ce6a2af78f net.dns: Try next server if peer name can not be set (thanks wirehack7) 11 years ago
Kim Alvefur a5b90711b7 net.dns: Return new socket from servfail 11 years ago
Florian Zeitz 859dd738fb net.dns: Avoid duplicate cache entries 11 years ago
Matthew Wild b3fd3b1c7b net.dns: Remove unused obsolete code 12 years ago
Matthew Wild c93e0181f1 net.dns: Ensure all pending requests get notified of a timeout when looking up a record (fix for d122420542fb) 12 years ago
Kim Alvefur d2e2954451 net.dns: Fix duplicated cache insertions by limiting outstanding queries per name to one 12 years ago
Kim Alvefur 0eefd598cb net.dns, net.adns: Make sure errors from net.server are propagated (thanks asterix) 13 years ago
Kim Alvefur f24676d537 net.dns: Add nicer API to cached records 13 years ago
Kim Alvefur 38b1fed51e net.dns: Make sure argument to math.randomseed does not overflow a 32 bit unsigned int. Closes #320 13 years ago
Kim Alvefur f7bd5657eb net.dns: Close voided sockets, so they don't stay in net.server 13 years ago
Matthew Wild 2e1052414f net.dns: Clean up query list when a server is marked down 13 years ago
Florian Zeitz 8d5ffd8d1a s2smanager, net.dns: Fix handling for NXNAME and SRV target of "." 14 years ago
Matthew Wild 97a0b9f7ad net.dns: Preserve metatable on manual cache purge 14 years ago
Kim Alvefur 2865b80ebd net.dns: Shorten AAAA records 15 years ago
Matthew Wild dc7c12d028 net.dns: Support for resolving AAAA records 15 years ago
Kim Alvefur 1dfc82ef0d 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