Michał Brzuchalski
493d014b58
Add more resolv.conf features ( #89 )
...
- Add search list and ndots option
- Add support for rotate option
- Add support for LOCALDOMAIN and RES_OPTIONS
- Increase default timeout from 3s to 5s and limit it to 30s
Fixes #46 .
Fixes #47 .
2019-07-30 18:09:33 +02:00
Niklas Keller
0f59e8a14a
Fix expected name for Google DNS
2019-07-08 22:27:40 +02:00
Aaron Piotrowski
c1a61c6e78
Use shared styles
2019-01-24 19:27:47 -06:00
Niklas Keller
ad55bcf870
Fix host loading on Windows
2017-06-24 01:18:12 +02:00
Niklas Keller
015ac39f08
Fix BasicResolver::reloadConfig
2017-06-23 18:43:04 +02:00
Niklas Keller
a10643fa37
Fix issue with type restricted resolve and add test
2017-06-23 18:35:48 +02:00
Niklas Keller
3c80f0a4b1
Remove bogus assertion for TTL
2017-06-23 18:26:42 +02:00
Niklas Keller
23e24b76c6
Add test for type restrictions in resolve
2017-06-23 18:21:56 +02:00
Niklas Keller
9ed331ae3d
Implement request sharing for concurrent requests to the same resource
2017-06-23 17:48:03 +02:00
Niklas Keller
1124aa1117
Add test domain that has a CNAME
2017-06-23 13:18:12 +02:00
Niklas Keller
ebdf4a663e
Implement resolve in BasicResolver
2017-06-23 13:14:51 +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
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
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
Aaron Piotrowski
e7559b6cbc
Merge branch 'master' into amp_v2
2017-06-13 12:28:06 -05:00
Aaron Piotrowski
1d8dc615bf
Update for async-interop merge and other Amp changes
2017-03-16 23:01:58 -05:00
Niklas Keller
5fc1cde2d2
Add test for PTR lookup by IP
2017-02-05 23:17:40 +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
Aaron Piotrowski
f4055e5a52
Update for async-interop namespace change
2017-01-10 23:49:38 -06:00
Aaron Piotrowski
7091105e2f
Update for removal of Amp loop wrapper functions
2016-12-29 21:17:07 -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
acd649e39e
Use strict types
2016-08-23 23:20:25 -05:00
Bob Weinand
46589b730a
Update for Amp v2
2016-08-02 23:57:40 +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
a2fe7a5764
Massive refactor using amp/1.0.0
2015-08-01 22:38:25 -04:00
Daniel Lowrey
aaf718e128
Update for amphp/amp v0.15.0
2014-12-08 12:07:24 -05:00
Daniel Lowrey
d562ce24f4
Simplify directory structure
2014-09-24 13:35:10 -04:00