aboutsummaryrefslogtreecommitdiffstats
path: root/net/dns.lua
Commit message (Collapse)AuthorAgeFilesLines
* net.dns: Add dns.settimeout() to set the timeout for the default resolverMatthew Wild2010-07-051-0/+4
|
* net.dns: Make timeout configurable (default 15s)Matthew Wild2010-07-051-4/+9
|
* net.dns, net.adns: Update resolver:cancel() API so that a table doesn't need ↵Matthew Wild2010-07-051-5/+5
| | | | to be created for each cancellation internal to net.dns
* net.dns, net.adns: Move coroutine-calling logic into resolver:cancel()Matthew Wild2010-07-051-1/+4
|
* net.dns: Handle our own timeouts, including falling onto other servers in ↵Matthew Wild2010-07-051-1/+25
| | | | resolv.conf if necessary
* net.dns: Remove redundant locals declarationMatthew Wild2010-05-201-1/+0
|
* net.dns: Fix dns.lookup from commit e54774bd73a7Matthew Wild2010-05-201-1/+1
|
* net/dns: Fix socket.select timeout.Brian Cully2009-12-281-1/+8
|
* net.dns: Trailing whitespaceMatthew Wild2010-03-051-2/+2
|
* net.dns: More reliable parsing of resolv.conf - allow multiple nameserver ↵Matthew Wild2010-03-051-2/+7
| | | | IPs on one line (thanks dersd)
* net.dns: Normalize records before placing them in the cache, fixes issues ↵Matthew Wild2010-02-121-4/+5
| | | | with CNAME targets in CAPS (fixes #161)
* net.dns: Update for new socket APIMatthew Wild2010-02-121-1/+1
|
* net.dns, net.adns: Changed dns:socket_wrapper_set to dns.socket_wrapper_set ↵Waqas Hussain2010-02-101-1/+1
| | | | for consistency.
* net.dns: Fixed whitespace/indentation.Waqas Hussain2010-02-101-3/+2
|
* net.dns: Removed unused function.Waqas Hussain2010-02-101-5/+0
|
* net.dns: Removed some useless indirection to improve readability.Waqas Hussain2010-02-101-10/+9
|
* net.dns: Make sure math.randomseed() gets passed an integerMatthew Wild2010-01-071-1/+1
|
* net.dns: Update synchronous path for new connection APIBrian Cully2009-12-211-1/+1
|
* net.dns: Fix for blocking dns lookups to find waiting coroutines correctly ↵Matthew Wild2009-12-031-1/+1
| | | | (not that we use this in Prosody...)
* net.dns: Port some DNS fixes to the resolver:feed() function for net.adns to useMatthew Wild2009-12-031-8/+5
|
* modulemanager, net.dns: Remove trailing whitespaceMatthew Wild2009-12-021-1/+1
|
* net.dns: Be more strict about the records we cacheMatthew Wild2009-11-181-5/+4
|
* net.dns: Be more strict about checking the DNS replies we receiveMatthew Wild2009-11-181-1/+2
|
* net.dns: Fixed indentation and coding style.Waqas Hussain2009-11-021-719/+751
|
* net.dns: Initialize default resolver on module load (instead of on first use).Waqas Hussain2009-11-021-1/+1
|
* net.dns: Updated to use util.windows.get_nameservers for enumerating ↵Waqas Hussain2009-11-021-13/+25
| | | | nameservers on Windows.
* net.dns: Don't expire records with TTL of 0 instantlyMatthew Wild2009-10-211-1/+1
|
* net.dns: Don't cache some records indefinitelyMatthew Wild2009-10-171-1/+1
|
* net.dns: Remove sockets from socketset when closing them, fixes a leakMatthew Wild2009-10-131-2/+5
|
* net.dns: Even better parsing of nameservers from resolv.confMatthew Wild2009-09-251-1/+1
|
* net.dns: Remove elements from the cache when expired so as to not leave ↵Matthew Wild2009-09-241-1/+4
| | | | holes in the array
* net.dns: Stricter matching of nameserver entries in resolv.confMatthew Wild2009-09-241-1/+1
|
* net.dns: Respect commented nameserver entries in resolv.conf (thanks Remko)Matthew Wild2009-09-241-2/+2
|
* net.dns: Accidentally committed a hard-coded 4.2.2.1 nameserverMatthew Wild2009-09-211-1/+0
|
* core.s2smanager: Don't recurse CNAMEs infinitely :)Matthew Wild2009-09-211-0/+1
|
* net.dns: Multiple internal changes and API extensions to allow for more ↵Matthew Wild2009-09-181-9/+62
| | | | reliable DNS lookups
* Remove version number from copyright headersMatthew Wild2009-07-101-1/+1
|
* net.dns: Add support for cancelling a coroutine-based requestMatthew Wild2009-05-261-2/+10
|
* 0.3->0.4Matthew Wild2009-03-201-1/+1
|
* net.dns: Add methods necessary for allowing non-blocking DNS lookupsMatthew Wild2009-03-041-22/+72
|
* 0.2->0.3Matthew Wild2009-01-301-1/+1
|
* 0.1 -> 0.2Matthew Wild2008-12-101-21/+3
|
* Insert copyright/license headersMatthew Wild2008-12-031-0/+20
|
* Quickfix for dns.lua to not crash on failed connection to name serversWaqas Hussain2008-11-281-1/+2
|
* Added temporary fix for srv on windows: using opendns nameserversWaqas Hussain2008-11-231-5/+10
|
* Fix various mistakes in dns.luaMatthew Wild2008-11-231-7/+7
|
* Fix dns for poor Windows users, who have never seen a resolv.confMatthew Wild2008-11-231-1/+3
|
* We have SRV resolving \o/Matthew Wild2008-11-181-0/+795