Commit Graph

51 Commits (565c65baa1cf05abd5490aac02024e1ecabdcd3e)

Author SHA1 Message Date
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
Matthew Wild 76940508d1 net.dns: Make sure math.randomseed() gets passed an integer 16 years ago
Brian Cully f135b2f4a4 net/dns: Fix socket.select timeout. 16 years ago
Brian Cully f6f447b421 net.dns: Update synchronous path for new connection API 16 years ago
Matthew Wild 54c77c0054 net.dns: Fix for blocking dns lookups to find waiting coroutines correctly (not that we use this in Prosody...) 16 years ago
Matthew Wild 490f351cec net.dns: Fix for blocking dns lookups to find waiting coroutines correctly (not that we use this in Prosody...) 16 years ago
Matthew Wild 0ab240e0eb net.dns: Port some DNS fixes to the resolver:feed() function for net.adns to use 16 years ago
Matthew Wild 85cf0d2661 net.dns: Port some DNS fixes to the resolver:feed() function for net.adns to use 16 years ago
Matthew Wild 44066a0897 modulemanager, net.dns: Remove trailing whitespace 16 years ago
Matthew Wild 8e47276e91 net.dns: Normalize records before placing them in the cache, fixes issues with CNAME targets in CAPS (fixes #161) 16 years ago
Matthew Wild 38fe146c05 net.dns: Be more strict about the records we cache 16 years ago
Matthew Wild 911cb9d488 net.dns: Be more strict about checking the DNS replies we receive 16 years ago
Waqas Hussain 86483efbf2 net.dns: Fixed indentation and coding style. 16 years ago
Waqas Hussain c129a0b2b9 net.dns: Initialize default resolver on module load (instead of on first use). 16 years ago
Waqas Hussain c19649f069 net.dns: Updated to use util.windows.get_nameservers for enumerating nameservers on Windows. 16 years ago
Matthew Wild 1d89d7c92c net.dns: Don't expire records with TTL of 0 instantly 16 years ago
Matthew Wild a6639593e9 net.dns: Don't cache some records indefinitely 16 years ago
Matthew Wild 3967579413 net.dns: Remove sockets from socketset when closing them, fixes a leak 16 years ago
Matthew Wild 4248f6078f net.dns: Even better parsing of nameservers from resolv.conf 17 years ago
Matthew Wild 9118f71227 net.dns: Remove elements from the cache when expired so as to not leave holes in the array 17 years ago
Matthew Wild 775c721023 net.dns: Stricter matching of nameserver entries in resolv.conf 17 years ago
Matthew Wild e0c4e19bab net.dns: Respect commented nameserver entries in resolv.conf (thanks Remko) 17 years ago
Matthew Wild 68cbd6d4b0 net.dns: (for some reason this commit didn't pull over from 0.5) Remove hard-coded 4.2.2.1 from dns.lua 17 years ago
Matthew Wild 334b002da3 net.dns: Accidentally committed a hard-coded 4.2.2.1 nameserver 17 years ago
Matthew Wild 46e4ac25f4 core.s2smanager: Don't recurse CNAMEs infinitely :) 17 years ago
Matthew Wild 243f4c0fb3 net.dns: Multiple internal changes and API extensions to allow for more reliable DNS lookups 17 years ago
Waqas Hussain b4fa86acea net/dns: Fixed regression causing nameserver initialization to fail on Windows 17 years ago
Matthew Wild fa96706886 net.dns: Automatically add nameserver 127.0.0.1 if /etc/resolv.conf missing or empty on a non-Windows system (thanks Louis Mamakos) 17 years ago
Matthew Wild 118883d655 Remove version number from copyright headers 17 years ago
Matthew Wild c394acafc8 net.dns: Add support for cancelling a coroutine-based request 17 years ago