Niklas Keller
2c8133a7b4
Allow empty domain names to be decoded
...
This is a rather long standing issue. LibDNS didn't allow to decode empty domain names. Empty domain names were previously only observed with PTR records, but were now also observed in regular queries in authoritative records that include the root nameservers.
LibDNS 2.0 mainly adds scalar types has just a few breaking changes. We don't expose it anywhere, so an upgrade is perfectly fine.
Fixes #53 .
2018-01-10 17:26:11 +01:00
Niklas Keller
16e6d6c22f
Limit cache size by default to 256 entries
...
Fixes #65 .
2017-12-16 19:59:47 +01:00
Niklas Keller
fb282e4e93
Allow amphp/file ^0.3
2017-12-15 17:02:47 +01:00
Aaron Piotrowski
511e89c52b
Define target platform in composer.json and fix .travis.yml
2017-12-02 21:11:27 -06:00
Niklas Keller
f9f0c6cdc8
Fix queries over TCP, add tests
2017-06-29 12:36:09 +02:00
Aaron Piotrowski
3aaf2708f7
Use flag to control reading requests
2017-06-24 00:50:34 -05:00
Niklas Keller
46cc8e47c7
Remove normalizeDnsName and isValidDnsName, as they're in amphp/uri now
2017-06-24 00:53:10 +02:00
Aaron Piotrowski
c250d471c8
WIP
2017-06-23 00:34:11 -05:00
Niklas Keller
74e68587f7
Refactor to option-less interface
2017-06-22 23:25:21 +02:00
Niklas Keller
315e03ff54
Refactor to Record class
...
Arrays are clearly not a good API and have resulted in bugs before, even within this package.
2017-06-22 19:22:45 +02:00
Niklas Keller
cbac861746
Update to PHPUnit 6, update code style
2017-06-17 10:49:54 +02:00
Niklas Keller
38250dddad
Update amphp/file to correct dev-dep
2017-06-17 09:13:58 +02:00
Niklas Keller
3d035a7e14
Serialize cache entries, use stable versions where possible
2017-06-17 08:31:35 +02:00
Aaron Piotrowski
20069da691
Update for removal of pipe()
2017-05-04 17:12:13 -05:00
Aaron Piotrowski
1d8dc615bf
Update for async-interop merge and other Amp changes
2017-03-16 23:01:58 -05:00
Niklas Keller
ecc677b6eb
Merge branch 'master' into amp_v2
...
Require PHPUnit 5.2.8, because of php-code-coverage and php-token-stream
requirements for PHP 7.
See
db63be1159
and 3204a4473c
.
2017-01-25 13:36:51 +01:00
Niklas Keller
5012ed3cf1
Depend on php-code-coverage 2.2 or higher for the PHPDBG driver
2017-01-25 13:21:19 +01:00
Aaron Piotrowski
e13372219a
Merge branch 'master' into amp_v2
2017-01-10 18:17:28 -06:00
Niklas Keller
0b0ef2b82d
Enable AppVeyor, search in all interfaces for nameservers
2017-01-05 01:13:28 +01:00
Niklas Keller
cf08357a86
Add support for Windows DNS nameserver configuration ( #40 )
2017-01-04 20:07:28 +01:00
Aaron Piotrowski
429ca48c94
Revert "Fix version aliases"
...
This reverts commit b9bc42908f
.
Only the next version of Amp is 2.0, these libs will be 0.2.
2016-08-24 09:17:20 -05:00
Niklas Keller
f1e0555317
Update php-cs-fixer dependency to friendsofphp
...
# Conflicts:
# composer.json
2016-08-23 23:21:38 -05:00
Aaron Piotrowski
49734bf786
Update test build
2016-08-23 23:19:20 -05:00
Aaron Piotrowski
b9bc42908f
Fix version aliases
2016-08-23 18:11:17 -05:00
Bob Weinand
f7ba250b77
PHP-7 only upgrade
2016-08-13 19:12:51 +02:00
Bob Weinand
46589b730a
Update for Amp v2
2016-08-02 23:57:40 +02:00
Niklas Keller
2af7bed940
Update php-cs-fixer dependency to friendsofphp
2016-07-23 09:44:37 +02:00
Niklas Keller
67ed5539ce
Add basic resolv.conf support
2015-09-18 02:49:06 +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
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
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
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
aaf718e128
Update for amphp/amp v0.15.0
2014-12-08 12:07:24 -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
d562ce24f4
Simplify directory structure
2014-09-24 13:35:10 -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
ccd9c87aeb
Initial amphp refactor
2014-09-24 00:04:46 -04:00
Daniel Lowrey
34da0f66b8
Merge branch '0.2'
...
Conflicts:
composer.lock
2014-08-05 17:47:07 -04:00