Commit Graph

43 Commits (41d45e0c64b94de227f048d5f376699dd6041735)

Author SHA1 Message Date
Matthew Wild f2b14d6d07 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 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
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
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
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Matthew Wild 775b18bd76 net.dns: Add methods necessary for allowing non-blocking DNS lookups 17 years ago
Matthew Wild f2d020191f 0.2->0.3 17 years ago
Matthew Wild d3ad4a5123 0.1 -> 0.2 17 years ago
Matthew Wild 0c5cc83112 Insert copyright/license headers 17 years ago
Waqas Hussain e26768484b Quickfix for dns.lua to not crash on failed connection to name servers 17 years ago
Waqas Hussain f80397b3b8 Added temporary fix for srv on windows: using opendns nameservers 17 years ago
Matthew Wild 950bc57ed0 Fix various mistakes in dns.lua 17 years ago
Matthew Wild 246bfb79cc Fix dns for poor Windows users, who have never seen a resolv.conf 17 years ago
Matthew Wild 801e99fcbb We have SRV resolving \o/ 17 years ago