1
0
mirror of https://github.com/danog/dns.git synced 2024-11-26 20:14:51 +01:00
Commit Graph

39 Commits

Author SHA1 Message Date
Niklas Keller
46cc8e47c7 Remove normalizeDnsName and isValidDnsName, as they're in amphp/uri now 2017-06-24 00:53:10 +02:00
Niklas Keller
ea1cd633dd Add BasicResolver::reloadConfig() and move docs to interface 2017-06-23 13:32:04 +02:00
Niklas Keller
ebdf4a663e Implement resolve in BasicResolver 2017-06-23 13:14:51 +02:00
Niklas Keller
ed1ea12067 Fix phpdoc in functions.php 2017-06-23 01:02:07 +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
25a8110c89 Refactor config loaders out of DefaultResolver 2017-06-17 12:30:38 +02:00
Niklas Keller
cbac861746 Update to PHPUnit 6, update code style 2017-06-17 10:49:54 +02:00
Niklas Keller
f06b5fd810 Add normalizeName 2017-06-15 22:06:50 +02:00
Aaron Piotrowski
1d8dc615bf Update for async-interop merge and other Amp changes 2017-03-16 23:01:58 -05:00
Niklas Keller
badf3a9100 Merge branch 'master' into amp_v2 2017-01-25 16:36:19 +01:00
Aaron Piotrowski
f4055e5a52 Update for async-interop namespace change 2017-01-10 23:49:38 -06:00
Aaron Piotrowski
644c4f8fc6 Drop strict types
Dropping strict types so it is not enforced in callbacks provided by application code.
2016-12-29 21:16:14 -06:00
Aaron Piotrowski
0ff5c8b802 Awaitable → Promise 2016-11-15 10:42:15 -06:00
Aaron Piotrowski
acd649e39e Use strict types 2016-08-23 23:20:25 -05:00
Aaron Piotrowski
9c1c0edba9 Add type declarations; code cleanup 2016-08-23 23:14:10 -05:00
Aaron Piotrowski
517de05422 Update for loop registry changes 2016-08-12 10:51:40 -05:00
Bob Weinand
46589b730a Update for Amp v2 2016-08-02 23:57:40 +02:00
Bob Weinand
4311c836bf Rename SystemResolver => DefaultResolver 2016-03-20 11:40:08 +01:00
Niklas Keller
e3411ce472 Refactor into class with accessor like in amphp/amp and amphp/file, resolves #28 2016-03-19 22:23:55 +01:00
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
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
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