Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | net.dns: Lazily generate unknown RR type names | Kim Alvefur | 2018-06-10 | 1 | -3/+12 |
| | |||||
* | Backed out changeset eae606b9266c: Used a lot of memory | Kim Alvefur | 2018-06-10 | 1 | -5/+4 |
| | |||||
* | net.dns: Syntesize type names for the full range | Kim Alvefur | 2018-06-09 | 1 | -4/+5 |
| | | | | | | | | Otherwise unknown records are identified as A records. This also fixes various tracebacks unearthed by previous commits and mis-identified records. Related to #1056 #976 #819 | ||||
* | net.dns: Don't attempt to cache unparsed data (fixes #1056) | Kim Alvefur | 2018-06-09 | 1 | -1/+1 |
| | | | | | | | rr[qtype:lower()] can be nil. I think this happens if the type does not have a parser. Also see #819 #976 | ||||
* | net.dns: Also cache records from the 'additional' section | Kim Alvefur | 2018-06-03 | 1 | -0/+4 |
| | | | | Could be getting A/AAAA records here when asking for SRV | ||||
* | net.dns: Cache all records from the 'answer' section (fixes #487) | Kim Alvefur | 2018-06-09 | 1 | -1/+1 |
| | | | | This should preserve CNAME records included here | ||||
* | net.dns: Don't compress a single zero group in IPv6 addresses to match ↵ | Kim Alvefur | 2017-12-01 | 1 | -1/+1 |
| | | | | behaviour of inet_ntop | ||||
* | net.dns: Correctly apply lower bound of RTT (thanks Ge0rG) | Kim Alvefur | 2017-09-24 | 1 | -1/+1 |
| | |||||
* | Merge 0.9->0.10 | Kim Alvefur | 2017-06-13 | 1 | -1/+1 |
|\ | |||||
| * | net.dns: Prevent answers from immediately expiring even if TTL=0 (see #919) | Kim Alvefur | 2017-06-13 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2017-05-27 | 1 | -8/+2 |
|\| | |||||
| * | net.dns: Simplify expiry calculation (fixes #919) | Kim Alvefur | 2017-05-22 | 1 | -8/+2 |
| | | |||||
* | | net.dns: remove unused variable unpack [luacheck] | Anton Shestakov | 2016-07-28 | 1 | -2/+2 |
| | | |||||
* | | net.dns: remove unused one-letter loop variables [luacheck] | Anton Shestakov | 2016-07-14 | 1 | -4/+4 |
| | | |||||
* | | net.dns: don't use "for s,s in pairs..." (unused loop variable s) [luacheck] | Anton Shestakov | 2016-07-09 | 1 | -2/+2 |
| | | |||||
* | | net.dns: remove unused one-letter loop variables [luacheck] | Anton Shestakov | 2016-07-09 | 1 | -4/+4 |
| | | |||||
* | | net.dns: Import unpack() in forward-compatible way (Fixes compat with Lua5.2+) | Kim Alvefur | 2016-03-28 | 1 | -2/+2 |
| | | |||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2016-01-22 | 1 | -7/+7 |
|\| | |||||
| * | net.dns: Remember query only after it was sent, in case it was not (fixes #598) | Kim Alvefur | 2016-01-21 | 1 | -5/+5 |
| | | |||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2016-01-08 | 1 | -2/+4 |
|\| | |||||
| * | Backout 88d54bec26b7 prior to release, as it certainly requires more testing | Matthew Wild | 2016-01-08 | 1 | -1/+3 |
| | | |||||
| * | net.dns: Allow a zone id in resolv.conf (eg like %eth0) | Kim Alvefur | 2016-01-04 | 1 | -1/+1 |
| | | |||||
| * | net.dns: Support IPv6 addresses in resolv.conf [Backported from 0.10] | Florian Zeitz | 2013-06-18 | 1 | -6/+13 |
| | | |||||
* | | Merge 0.9->0.10 | Matthew Wild | 2015-09-25 | 1 | -3/+1 |
|\| | |||||
| * | net.dns: Unconditionally cache records found in answers | Matthew Wild | 2015-05-25 | 1 | -3/+1 |
| | | |||||
* | | net.dns: Use new IPv4-specific socket factory if available (fixes dns on ↵ | Kim Alvefur | 2015-09-25 | 1 | -1/+1 |
| | | | | | | | | libevent with latest development version of luasocket) | ||||
* | | net.*: Remove use of module() function | Kim Alvefur | 2015-02-21 | 1 | -2/+2 |
| | | |||||
* | | net.dns: Remove resolver:new(), as it needlessly and incorrectly duplicates ↵ | Matthew Wild | 2015-07-06 | 1 | -11/+0 |
| | | | | | | | | dns.resolver() | ||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2015-05-03 | 1 | -1/+1 |
|\| | |||||
| * | net.dns: Make sure argument to math.randomseed does not overflow a 32 bit ↵ | Kim Alvefur | 2015-04-26 | 1 | -1/+1 |
| | | | | | | | | *signed* int (blame Lua). Closes #439 | ||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2015-04-26 | 1 | -3/+8 |
|\| | |||||
| * | net.dns, mod_s2s: Add chasing of CNAMEs to net.dns and remove it from mod_s2s | Kim Alvefur | 2015-04-24 | 1 | -3/+8 |
| | | |||||
* | | Merge 0.9 -> 0.10 | Kim Alvefur | 2014-11-09 | 1 | -7/+12 |
|\| | |||||
| * | net.dns: Try next server if peer name can not be set (thanks wirehack7) | Kim Alvefur | 2014-10-30 | 1 | -6/+10 |
| | | |||||
| * | net.dns: Return new socket from servfail | Kim Alvefur | 2014-10-30 | 1 | -3/+4 |
| | | |||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2014-10-05 | 1 | -4/+9 |
|\| | |||||
| * | net.dns: Avoid duplicate cache entries | Florian Zeitz | 2014-10-05 | 1 | -4/+9 |
| | | |||||
* | | Merge 0.9->0.10 | Matthew Wild | 2014-07-25 | 1 | -9/+6 |
|\| | |||||
| * | net.dns: Remove unused obsolete code | Matthew Wild | 2014-07-25 | 1 | -4/+1 |
| | | |||||
| * | net.dns: Ensure all pending requests get notified of a timeout when looking ↵ | Matthew Wild | 2014-07-25 | 1 | -5/+5 |
| | | | | | | | | up a record (fix for d122420542fb) | ||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2014-06-30 | 1 | -1/+8 |
|\| | |||||
| * | net.dns: Fix duplicated cache insertions by limiting outstanding queries per ↵ | Kim Alvefur | 2014-06-30 | 1 | -1/+8 |
| | | | | | | | | name to one | ||||
* | | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 1 | -3/+3 |
| | | |||||
* | | Merge 0.9->trunk | Kim Alvefur | 2013-07-10 | 1 | -1/+1 |
|\| | |||||
| * | net.dns, net.adns: Make sure errors from net.server are propagated (thanks ↵ | Kim Alvefur | 2013-07-10 | 1 | -1/+1 |
| | | | | | | | | asterix) | ||||
* | | net.dns: Support IPv6 addresses in resolv.conf | Florian Zeitz | 2013-06-18 | 1 | -6/+13 |
|/ | |||||
* | net.dns: Add nicer API to cached records | Kim Alvefur | 2013-05-07 | 1 | -0/+4 |
| | |||||
* | net.dns: Make sure argument to math.randomseed does not overflow a 32 bit ↵ | Kim Alvefur | 2013-03-05 | 1 | -1/+1 |
| | | | | unsigned int. Closes #320 | ||||
* | net.dns: Close voided sockets, so they don't stay in net.server | Kim Alvefur | 2012-12-22 | 1 | -0/+1 |
| | |||||
* | net.dns: Clean up query list when a server is marked down | Matthew Wild | 2012-12-22 | 1 | -0/+5 |
| |