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

80 Commits

Author SHA1 Message Date
Niklas Keller
cf2f81b98f
Require stable php-cs-fixer-config 2023-01-10 21:40:23 +01:00
Niklas Keller
b00d1b52fd
Remove ext-json as it's always enabled now 2023-01-10 21:37:17 +01:00
Niklas Keller
8350fcddbe
Remove minimum stability 2023-01-10 21:37:07 +01:00
Aaron Piotrowski
ce518ce058
Update to Psalm 5.4 2022-12-28 17:17:59 -06:00
Niklas Keller
24f3eeac0c
Add compatibility with Revolt v1.x 2022-11-07 23:13:32 +01:00
Niklas Keller
30b2247dbb Drop support for PHP 8.0 2022-02-23 00:21:48 +01:00
Niklas Keller
716e748adb Add psalm
Fixes default search list based on hostname
2022-02-03 23:00:41 +01:00
Niklas Keller
b771133214 Update revolt and php-cs-fixer 2022-02-03 22:06:03 +01:00
Niklas Keller
978bc43e88 Move lib → src 2021-12-15 23:55:47 +01:00
Niklas Keller
aed733c230 Add composer-require-checker and improve CI 2021-12-14 21:03:21 +01:00
Aaron Piotrowski
b0c8ccb6e4
Update for cache beta changes 2021-12-13 16:58:54 -06:00
Aaron Piotrowski
0ee5a9c323
Update for Revolt changes 2021-10-16 11:01:36 -05:00
Aaron Piotrowski
23cad3b07b
Update for name changes 2021-09-21 18:20:11 -05:00
Aaron Piotrowski
223e61f720
Update for Revolt changes and Futures 2021-09-15 08:03:50 -05:00
Niklas Keller
e9a73e98bf Use revolt 2021-03-27 10:08:32 +01:00
Aaron Piotrowski
0a54e59beb
Refactor for Amp v3 2020-10-09 23:49:05 -05:00
Niklas Keller
8cf2ccc4fa Ignore ServFail / NxDomain for each list responses
Relates to #99.
2020-06-19 22:28:16 +02:00
Niklas Keller
2d61f2d728 Extract blocking fallback into its own resolver 2019-07-08 22:23:20 +02:00
Aaron Piotrowski
135c6164ec
Add composer scripts 2019-03-03 09:05:43 -06:00
Aaron Piotrowski
c1a61c6e78
Use shared styles 2019-01-24 19:27:47 -06:00
Aaron Piotrowski
d26f9bb44f Remove amphp/file and amphp/uri dependencies (#80)
Replaces async loading of hosts and resolver files with blocking reads by default.

Closes #78.
2019-01-04 18:20:52 +01:00
Austin Heap
41d02a30bb Use ext-filter instead of inet_pton to avoid error suppression (#73) 2018-03-31 17:56:32 +02:00
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