Commit graph

130 commits

Author SHA1 Message Date
Matthew Wild
490f351cec net.dns: Fix for blocking dns lookups to find waiting coroutines correctly (not that we use this in Prosody...) 2009-12-03 01:13:06 +00:00
Matthew Wild
85cf0d2661 net.dns: Port some DNS fixes to the resolver:feed() function for net.adns to use 2009-12-03 01:10:08 +00:00
Matthew Wild
44066a0897 modulemanager, net.dns: Remove trailing whitespace 2009-12-02 20:32:44 +00:00
Matthew Wild
38fe146c05 net.dns: Be more strict about the records we cache 2009-11-18 01:09:09 +00:00
Matthew Wild
911cb9d488 net.dns: Be more strict about checking the DNS replies we receive 2009-11-18 01:05:38 +00:00
Waqas Hussain
86483efbf2 net.dns: Fixed indentation and coding style. 2009-11-02 01:57:33 +05:00
Waqas Hussain
c129a0b2b9 net.dns: Initialize default resolver on module load (instead of on first use). 2009-11-02 00:52:35 +05:00
Waqas Hussain
c19649f069 net.dns: Updated to use util.windows.get_nameservers for enumerating nameservers on Windows. 2009-11-02 00:46:43 +05:00
Matthew Wild
1d89d7c92c net.dns: Don't expire records with TTL of 0 instantly 2009-10-21 00:01:50 +01:00
Matthew Wild
a6639593e9 net.dns: Don't cache some records indefinitely 2009-10-17 17:56:51 +01:00
Matthew Wild
3967579413 net.dns: Remove sockets from socketset when closing them, fixes a leak 2009-10-13 11:12:49 +01:00
Matthew Wild
4248f6078f net.dns: Even better parsing of nameservers from resolv.conf 2009-09-25 01:35:46 +01:00
Matthew Wild
9118f71227 net.dns: Remove elements from the cache when expired so as to not leave holes in the array 2009-09-24 23:46:12 +01:00
Matthew Wild
775c721023 net.dns: Stricter matching of nameserver entries in resolv.conf 2009-09-24 23:25:18 +01:00
Matthew Wild
e0c4e19bab net.dns: Respect commented nameserver entries in resolv.conf (thanks Remko) 2009-09-24 11:14:05 +01:00
Matthew Wild
334b002da3 net.dns: Accidentally committed a hard-coded 4.2.2.1 nameserver 2009-09-21 14:42:01 +01:00
Matthew Wild
46e4ac25f4 core.s2smanager: Don't recurse CNAMEs infinitely :) 2009-09-21 14:40:14 +01:00
Matthew Wild
243f4c0fb3 net.dns: Multiple internal changes and API extensions to allow for more reliable DNS lookups 2009-09-18 02:45:15 +01:00
Matthew Wild
118883d655 Remove version number from copyright headers 2009-07-10 03:11:45 +01:00
Matthew Wild
c394acafc8 net.dns: Add support for cancelling a coroutine-based request 2009-05-26 21:47:25 +01:00
Matthew Wild
c80f91dc02 0.3->0.4 2009-03-20 20:16:25 +00:00
Matthew Wild
775b18bd76 net.dns: Add methods necessary for allowing non-blocking DNS lookups 2009-03-04 12:58:56 +00:00
Matthew Wild
f2d020191f 0.2->0.3 2009-01-30 17:40:25 +00:00
Matthew Wild
d3ad4a5123 0.1 -> 0.2 2008-12-10 15:44:03 +00:00
Matthew Wild
0c5cc83112 Insert copyright/license headers 2008-12-03 14:39:07 +00:00
Waqas Hussain
e26768484b Quickfix for dns.lua to not crash on failed connection to name servers 2008-11-28 22:47:22 +05:00
Waqas Hussain
f80397b3b8 Added temporary fix for srv on windows: using opendns nameservers 2008-11-23 10:43:50 +05:00
Matthew Wild
950bc57ed0 Fix various mistakes in dns.lua 2008-11-23 03:00:20 +00:00
Matthew Wild
246bfb79cc Fix dns for poor Windows users, who have never seen a resolv.conf 2008-11-23 02:50:57 +00:00
Matthew Wild
801e99fcbb We have SRV resolving \o/ 2008-11-18 22:41:04 +00:00