1
0
mirror of https://github.com/danog/dns.git synced 2024-12-12 09:29:46 +01:00
Commit Graph

307 Commits

Author SHA1 Message Date
Niklas Keller
957e3eaf3d Don't use shallow_clone, as the exported project doesn't include tests 2017-06-23 15:09:24 +02:00
Niklas Keller
132296d158 Fix script order on Appveyor 2017-06-23 15:01:52 +02:00
Niklas Keller
e4b0fa0b67 Fix more paths on Appveyor 2017-06-23 14:57:22 +02:00
Niklas Keller
c728392eea Call Composer correctly on Appveyor 2017-06-23 14:53:36 +02:00
Niklas Keller
0f911d58d5 Change PHP path to c:\tools\php71 on Appveyor 2017-06-23 14:49:49 +02:00
Niklas Keller
18427385bc Start Windows Update server on Appveyor 2017-06-23 14:45:56 +02:00
Niklas Keller
2d5a7ab37b Change appveyor.yml, it's enough to run one version of PHP on Windows 2017-06-23 14:37:04 +02:00
Niklas Keller
b05d11912b Fix resolution data and add CNAME / DNAME support 2017-06-23 14:23:04 +02:00
Niklas Keller
05a413f72c Error out if type is restricted and passed name is an IP but not of that type 2017-06-23 13:39:20 +02:00
Niklas Keller
ea1cd633dd Add BasicResolver::reloadConfig() and move docs to interface 2017-06-23 13:32:04 +02:00
Niklas Keller
1124aa1117 Add test domain that has a CNAME 2017-06-23 13:18:12 +02:00
Niklas Keller
affebb612a Delete DefaultDriver 2017-06-23 13:15:15 +02:00
Niklas Keller
ebdf4a663e Implement resolve in BasicResolver 2017-06-23 13:14:51 +02:00
Niklas Keller
0331eadcc8 Implement TCP retry and server reuse 2017-06-23 12:49:16 +02:00
Niklas Keller
48e37f4014 Implement caching and name normalization in BasicResolver 2017-06-23 09:24:26 +02:00
Niklas Keller
f0a67f5619 Refactor TcpServer connect logic and fix its parser 2017-06-23 08:39:49 +02:00
Aaron Piotrowski
c250d471c8
WIP 2017-06-23 00:34:11 -05:00
Aaron Piotrowski
fdeb03ca44
Use input/output streams 2017-06-22 19:38:36 -05:00
Aaron Piotrowski
ba8a8423eb
Use anonymous class 2017-06-22 18:46:08 -05:00
Niklas Keller
ed1ea12067 Fix phpdoc in functions.php 2017-06-23 01:02:07 +02:00
Niklas Keller
2815d8f694 Add config test 2017-06-22 23:39:13 +02:00
Niklas Keller
74e68587f7 Refactor to option-less interface 2017-06-22 23:25:21 +02:00
Niklas Keller
3c8412b4a7 Remove TYPE_ prefix for record constants 2017-06-22 20:08:27 +02:00
Niklas Keller
d7b32251d8 Rename ResolvConfTest to UnixConfigLoaderTest 2017-06-22 19:26:41 +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
f06f3b4f74 Refactor name normalization and validity checking 2017-06-22 19:06:49 +02:00
Niklas Keller
aa74a8825e Fix code style 2017-06-17 12:33:22 +02:00
Niklas Keller
25a8110c89 Refactor config loaders out of DefaultResolver 2017-06-17 12:30:38 +02:00
Niklas Keller
4d8f27d9b5 Readd call import removed by php-cs-fixer 2017-06-17 11:00:26 +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
Niklas Keller
f06b5fd810 Add normalizeName 2017-06-15 22:06:50 +02:00
Niklas Keller
08ada39e3b Merge branch 'master' into amp_v2 2017-06-14 08:10:06 +02:00
Niklas Keller
4ef49e8544 Fix cache TTL 2017-06-14 08:08:34 +02:00
Aaron Piotrowski
e7559b6cbc Merge branch 'master' into amp_v2 2017-06-13 12:28:06 -05:00
Chris Wright
9f2820bb63 Merge pull request #57 from Peleg/use-ttl
Fix bug where record type ID is used as TTL in cache
2017-06-01 08:56:55 +01:00
Peleg Rosenthal
1de011e888 use ttl before caching 2017-05-26 16:37:15 -04: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
Aaron Piotrowski
4e4d6e9f81 Unload server when fwrite fails
Ignore errors from fwrite caused by disconnected sockets and immediately unload the server.
2017-03-02 16:38:11 -06:00
Niklas Keller
5fc1cde2d2 Add test for PTR lookup by IP 2017-02-05 23:17:40 +01:00
Niklas Keller
2b6925f166 Automatically convert IPs to ARPA domain 2017-02-05 23:17:40 +01:00
Niklas Keller
45ab9b512b Search for DhcpNameServer in interfaces on Windows
Resolves #49.
2017-02-05 09:49:46 +01:00
Niklas Keller
6924079756 Delete obsolete coveralls config, add recommended travis_retry 2017-01-25 16:41:31 +01:00
Niklas Keller
badf3a9100 Merge branch 'master' into amp_v2 2017-01-25 16:36:19 +01:00
Niklas Keller
fc4621dfb7 Add test for custom servers 2017-01-25 16:25:41 +01: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
Niklas Keller
0941c4e779 Merge branch 'master' into amp_v2 2017-01-25 13:10:06 +01:00