1
0
mirror of https://github.com/danog/dns.git synced 2024-11-27 04:24:48 +01:00
Commit Graph

117 Commits

Author SHA1 Message Date
Bob Weinand
daf859ec40 Fix issues #25 and #26 2016-03-14 22:50:59 +01:00
Bob Weinand
2ca9766dff Prevent multiple unloading of server 2016-02-29 19:58:53 +01:00
Bob Weinand
a3b2c9099f Fixed issue #27 2016-02-25 12:36:51 +01:00
Bob Weinand
35b147d6f0 Fix parameter order 2016-02-21 21:54:50 +01:00
Niklas Keller
f70bd2d79f Add missing return, add tests for __loadResolvConf 2015-12-23 16:47:49 +01:00
Niklas Keller
2f8103f173 Handle IPv6 nameservers correctly 2015-12-23 14:56:14 +01:00
Niklas Keller
4c4d450d4a Fix #24: Default nameservers without port 2015-12-08 10:41:38 +01:00
Niklas Keller
29ae0bd341 Catch RuntimeException from Amp\some and turn it into ResolutionException 2015-09-23 22:22:33 +02:00
Niklas Keller
218e5877cd Add TODOs, update README 2015-09-18 15:09:28 +02:00
Bob Weinand
b63526343d Style, fix minor bug with wrong $option index in conf loader 2015-09-18 03:37:10 +02:00
Niklas Keller
67ed5539ce Add basic resolv.conf support 2015-09-18 02:49:06 +02:00
Bob Weinand
72764745f2 Automatically fallback to TCP upon timeout 2015-09-16 16:31:31 +02:00
Bob Weinand
f71c1a0b4c Use amphp/file 0.1 tag in composer now
And add myself as co-author
2015-09-11 03:40:52 +02:00
Niklas Keller
e0fcee2f0a Update to new cache api, remove minor code smell, import classes 2015-09-10 17:11:48 +02:00
Bob Weinand
bdb8b5bf96 Fixes, use amphp/file, few renamings 2015-09-08 23:03:25 +02:00
Bob Weinand
94f27c663f Add support for DNS messages over TCP 2015-09-08 17:27:33 +02:00
Bob Weinand
ebb5fb510c Switch to a new API to enable getting not only the first entry and not only A/AAAA records
This now can do queries to dns servers and you'll get the list of raw records in an array
2015-09-08 17:27:33 +02:00
Niklas Keller
e6ae0bf834 amphp/filesystem → amphp/file 2015-09-07 23:48:26 +02:00
Daniel Lowrey
b37314ce61 Miscellaneous cleanup 2015-08-02 09:19:32 -04:00
Daniel Lowrey
a2fe7a5764 Massive refactor using amp/1.0.0 2015-08-01 22:38:25 -04:00
Daniel Lowrey
79be6e8c28 initial wip 2015-07-27 21:53:44 -04:00
Daniel Lowrey
8b2e28619d update amp dependency in advance of v1 2015-07-27 10:32:35 -04:00
Daniel Lowrey
641c3cc51a update composer 2015-05-20 18:31:25 -04:00
Daniel Lowrey
98b2f7ca03 Add travis build status to readme 2015-05-20 15:32:25 -04:00
Daniel Lowrey
dd38041160 Update in preparation of amp v1 2015-05-20 15:30:20 -04:00
Daniel Lowrey
8d244be508 fix composer php version requirement 2015-04-29 12:34:29 -04:00
Daniel Lowrey
4c8072a557 update composer for php7 2015-04-27 15:26:11 -04:00
Daniel Lowrey
6dd23e5b42 Update amp dependency version 2015-04-27 15:22:10 -04:00
Daniel Lowrey
e4578f504a Update amp dep 2015-02-18 11:18:40 -05:00
Chris Wright
f7b291272a Update to latest stable LibDNS branch 2015-02-18 11:46:01 +00:00
Daniel Lowrey
46d1981ff5 Remove ext/filter dependency in IP type check 2015-02-17 15:34:12 -05:00
Daniel Lowrey
1d7627f7ca Merge pull request #20 from kelunik/patch-1
Match also subdomains with only one character
2015-02-09 10:45:16 -05:00
Niklas Keller
0ac694a5ee Match also subdomains with only one character
Example: m.example.com
2015-02-09 12:27:04 +01:00
Daniel Lowrey
aaf718e128 Update for amphp/amp v0.15.0 2014-12-08 12:07:24 -05:00
Chris Wright
56fc89cca8 Merge branch 'master' of github.com:/amphp/dns 2014-11-27 12:19:43 +00:00
Chris Wright
1eecf283d7 Fix typo in README 2014-11-27 12:19:13 +00:00
Chris Wright
19689ec7a5 Merge pull request #18 from DaveRandom/refactoring/cache-factory
Refactoring/cache factory
2014-11-26 17:12:40 +00:00
Chris Wright
980c7c9130 Add CacheFactory 2014-11-26 16:05:50 +00:00
Chris Wright
4dd32347a0 Remove unused "use" statement 2014-11-26 15:55:54 +00:00
Chris Wright
2a8e46babc Merge pull request #17 from DaveRandom/fix/cached-null-address
Cached null value checks
2014-11-26 15:47:49 +00:00
Danack
0c9d4a62d5 Added extra check to ensure APC is functioning. This is apparently necessary as tested on PHP5.4 on OSX. 2014-11-21 19:34:40 +00:00
Danack
ea5610963b Added check that the cache is enabled. 2014-11-21 16:06:36 +00:00
Danack
3bcf7e53a7 Changed default cache to be APCCache if the APC extension is loaded. This allows DNS lookups to be cached across requests when the library is used in a web SAPI. 2014-11-19 19:20:03 +00:00
Danack
ebce062f63 Added check to stop myself being confused by the tests not running. 2014-11-19 19:03:31 +00:00
Chris Wright
3e9fae44c0 Cached null value checks
- Prevent null values from being cached
- Delete values with expired TTLs from memory cached when an attempt is
  made to access them
- Use default TTL when none is specified with Redis and APC
2014-11-19 12:22:42 +00:00
Danack
8ac3ce08f8 Added test for overflow. 2014-11-10 16:13:44 +00:00
Danack
dd893c09a1 Fixed typo on variable. Added ClientTest to have client specific tests. 2014-11-10 15:42:58 +00:00
Danack
67b0ff1494 Fixed incorrect exception name. 2014-11-10 14:20:38 +00:00
Daniel Lowrey
e58d46d3c5 Disable read watcher when no resolve operations pending 2014-11-03 23:49:19 -05:00
Daniel Lowrey
980fd6a434 Update amp dependency 2014-10-22 22:32:01 -04:00