Commit Graph

120 Commits (bc3d454dd6f46292f08f4f724203de22a85800ca)

Author SHA1 Message Date
Kim Alvefur 5788d3bc53 net.dns: Lazily generate unknown RR type names 8 years ago
Kim Alvefur cd282219c2 Backed out changeset eae606b9266c: Used a lot of memory 8 years ago
Kim Alvefur 28aad3d690 net.dns: Syntesize type names for the full range 8 years ago
Kim Alvefur 80e86b6726 net.dns: Don't attempt to cache unparsed data (fixes #1056) 8 years ago
Kim Alvefur accf9f8c1a net.dns: Also cache records from the 'additional' section 8 years ago
Kim Alvefur 65dca31ca4 net.dns: Cache all records from the 'answer' section (fixes #487) 8 years ago
Kim Alvefur f04c5325ab net.dns: Expand table of known RR types from IANA registry 8 years ago
Kim Alvefur 8e6092d58a net.dns: Don't compress a single zero group in IPv6 addresses to match behaviour of inet_ntop 8 years ago
Kim Alvefur 146acdbd33 vairious: Add annotation when an empty environment is set [luacheck] 8 years ago
Kim Alvefur ab9bc74a98 net.dns: Use inet_ntop from util.net if available 8 years ago
Kim Alvefur 9c1cbdf612 net.dns: Correctly apply lower bound of RTT (thanks Ge0rG) 8 years ago
Kim Alvefur 1bc7fc6587 net.dns: Prevent answers from immediately expiring even if TTL=0 (see #919) 9 years ago
Kim Alvefur 90b4f16ad2 net.dns: Simplify expiry calculation (fixes #919) 9 years ago
Anton Shestakov 5543c03c4b net.dns: remove unused variable unpack [luacheck] 10 years ago
Anton Shestakov 848f1bb7d5 net.dns: remove unused one-letter loop variables [luacheck] 10 years ago
Anton Shestakov c227b18346 net.dns: don't use "for s,s in pairs..." (unused loop variable s) [luacheck] 10 years ago
Anton Shestakov 63fc438538 net.dns: remove unused one-letter loop variables [luacheck] 10 years ago
Kim Alvefur 2c31800ffd net.dns: Remember query only after it was sent, in case it was not (fixes #598) 10 years ago
Matthew Wild f421af054f Backout 88d54bec26b7 prior to release, as it certainly requires more testing 10 years ago
Kim Alvefur d4223ff4d9 net.dns: Allow a zone id in resolv.conf (eg like %eth0) 10 years ago
Kim Alvefur 2e0dff9f57 net.dns: Use new IPv4-specific socket factory if available (fixes dns on libevent with latest development version of luasocket) 10 years ago
Matthew Wild 25feb052b2 net.dns: Remove resolver:new(), as it needlessly and incorrectly duplicates dns.resolver() 11 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 9ed000c898 net.*: Remove use of module() function 11 years ago
Kim Alvefur 6a37123f76 net.dns: Import unpack() in forward-compatible way (Fixes compat with Lua5.2+) 10 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
Florian Zeitz 4b618a8727 Remove all trailing whitespace 13 years ago
Kim Alvefur 0eefd598cb net.dns, net.adns: Make sure errors from net.server are propagated (thanks asterix) 13 years ago
Florian Zeitz 8a6298f134 net.dns: Support IPv6 addresses in resolv.conf [Backported from 0.10] 13 years ago
Florian Zeitz 9d0a1129b7 net.dns: Support IPv6 addresses in resolv.conf 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 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
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