1
0
mirror of https://github.com/danog/dns.git synced 2024-11-30 04:29:06 +01:00
Commit Graph

239 Commits

Author SHA1 Message Date
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
Daniel Lowrey
5748155b4b Drop php req to 5.4 2014-10-21 11:54:29 -04:00
Daniel Lowrey
704c35870c Update README.md
Change incorrect usage of "parallel" to "concurrent"
2014-10-02 12:29:03 -04:00
Chris Wright
989a43a787 Merge pull request #15 from DaveRandom/master
Allow leading digits in name labels
2014-10-02 16:48:41 +01:00
Chris Wright
c188896170 Allow leading digits in name labels
Update name validator to allow RFC1101 names
2014-10-02 16:41:33 +01:00
Daniel Lowrey
d562ce24f4 Simplify directory structure 2014-09-24 13:35:10 -04:00
Daniel Lowrey
58929805a7 Update README examples 2014-09-24 10:52:32 -04:00
Daniel Lowrey
3f60ac9cc0 Update travis 2014-09-24 10:38:34 -04:00
Daniel Lowrey
205ecec4fc update composer dep version 2014-09-24 00:13:50 -04:00
Daniel Lowrey
d5e05e6c9b Improve README code formatting 2014-09-24 00:06:42 -04:00
Daniel Lowrey
ccd9c87aeb Initial amphp refactor 2014-09-24 00:04:46 -04:00
Danack
fb9407818e Merge pull request #14 from sasezaki/patch-1
Add PHP 5.6 to .travis.yml
2014-08-29 13:32:06 +01:00
Danack
559c8d18d5 Updated composer.lock file to appease Composer deities. 2014-08-29 13:18:43 +01:00
kazusuke sasezaki
e2c995e1c4 add PHP 5.6 to .travis.yml 2014-08-29 01:26:26 +09:00
Daniel Lowrey
34da0f66b8 Merge branch '0.2'
Conflicts:
	composer.lock
2014-08-05 17:47:07 -04:00
Daniel Lowrey
c90bea0e44 update composer.lock for new alert dependency version 2014-08-05 17:41:32 -04:00
Daniel Lowrey
ac39874f7f update alert dependency 2014-08-05 17:37:51 -04:00
Chris Wright
8fc26b5220 Update predis dep version to ~0.8.6 2014-07-30 00:00:34 +01:00
Chris Wright
b4865006d7 Merge branch '0.2'
Conflicts:
	composer.lock
2014-07-29 23:56:03 +01:00
Chris Wright
84e37a2dde Update Alert to 0.9.0, .gitignore, composer.lock
- Update Alert to v0.9.0 in composer and submodule
 - Update .gitignore to ignore composer data in
   vendor directory
 - Add composer.lock to repo
2014-07-29 23:17:21 +01:00
Danack
d4a86e8ac8 Fixed test to have correct behaviour. 2014-07-24 14:04:50 +01:00
Danack
d18d4958e5 Merge pull request #12 from Danack/addedSamplePackets
Added sample packets - tests are broken due to the uncommented test.
2014-07-24 12:59:09 +01:00
Danack
b37ad10811 Added test where client is not set. 2014-07-24 12:53:10 +01:00
Danack
005d0710bb Changed bbc test to use an array to be consistent with others, and also added note about test should check two IP addreses.
Added check that cname is returned when only cname is available.
2014-07-24 12:25:56 +01:00
Danack
ac8d451278 Merge commit '671cffe242beee453f272f1d143ee29d6027e2dd' into addedSamplePackets
* commit '671cffe242beee453f272f1d143ee29d6027e2dd':
  Removed bogus check in test - there is still an issue so test is marked as skipped.
  Added resolver tests.
  Fix hosts file bug and tests
2014-07-24 11:35:03 +01:00
Danack
c9f86bbe7e Added more tests for example packets. 2014-07-24 11:34:40 +01:00
Chris Wright
671cffe242 Merge pull request #11 from Danack/addResolverTest
Add resolver and ResponseInterpreter tests.
2014-07-23 23:32:41 +01:00
Danack
aab84bcef0 Removed bogus check in test - there is still an issue so test is marked as skipped. 2014-07-22 19:39:47 +01:00
Danack
8fdb86f655 Merge commit '3d81d18176b762191891de158dc04a1a59af6053' into addResolverTest
* commit '3d81d18176b762191891de158dc04a1a59af6053':
  Fix hosts file bug and tests

Conflicts:
	test/AddrTest/HostsFileTest.php
2014-07-22 19:34:47 +01:00