acf6e83e3c
Merge
2019-08-22 20:39:13 +02:00
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
edc0176f1a
Fully-fledged blocking resolver
2019-07-15 15:54:38 +02:00
Patrick Safarov
2e7921a13a
Fix empty resolution result on too many redirects
...
Fixes #87 .
2019-07-08 22:49:23 +02:00
Niklas Keller
0f59e8a14a
Fix expected name for Google DNS
2019-07-08 22:27:40 +02:00
Niklas Keller
2d61f2d728
Extract blocking fallback into its own resolver
2019-07-08 22:23:20 +02:00
Niklas Keller
eb4cd40b7c
Fix error messages based on the discussion in #86
2019-07-08 22:13:21 +02:00
7def49809b
Provide blocking fallback if config cannot be loaded ( #86 )
2019-07-08 21:58:53 +02:00
fbf1ae2d89
Support final dot in DNS names ( #83 )
2019-06-13 18:38:23 +02:00
498c7d3486
Fix benchmark example ( #85 )
2019-06-13 18:37:30 +02:00
ab07b327f0
Change argument type of decodeCachedResult ( #84 )
2019-06-10 16:01:50 +02:00
Niklas Keller
cb65162596
Fix import order and rename test
2019-03-13 17:43:10 +01:00
Niklas Keller
202498dab6
Update docs after Rfc1035StubResolver renaming
2019-03-13 17:38:40 +01:00
Niklas Keller
78ad81b3dc
Improve README example
2019-03-13 17:34:18 +01:00
Niklas Keller
d861050992
Rename driver() → createDefaultResolver()
2019-03-13 17:29:13 +01:00
Niklas Keller
05e0d23ec0
Revert making HostLoader::loadHosts() final
...
This method serves as an extension point not covered by an interface, so shouldn't be final.
2019-03-13 17:25:25 +01:00
Niklas Keller
882fcad930
Rename BasicResolver → Rfc1035StubResolver
2019-03-13 17:24:25 +01:00
Niklas Keller
d82d731008
Follow RFC 6761 for localhost resolution
...
Queries for localhost are no longer sent to the server, even if localhost isn't resolved by the hosts file.
Fixes #77 .
2019-03-13 17:18:23 +01:00
d42960ec2d
Resolve localhost locally as per RFC 6761
2019-03-13 17:06:25 +01:00
Niklas Keller
bb798c6dce
Remove outdated comment
2019-03-12 20:44:32 +01:00
Niklas Keller
53b467169c
Move AppVeyor to PHP 7.3
2019-03-12 20:42:11 +01:00
Aaron Piotrowski
b023ecda84
Merge branch 'v0.9.x'
2019-03-12 09:48:37 -05:00
I'm OK
585acfaf77
Update functions.php
...
To support docker container url
2019-03-12 09:39:04 -05:00
Aaron Piotrowski
ecb423be02
Finalize some things
2019-03-03 09:12:47 -06:00
Aaron Piotrowski
e67ba98a16
Remove deprecated exceptions
2019-03-03 09:12:18 -06:00
Aaron Piotrowski
135c6164ec
Add composer scripts
2019-03-03 09:05:43 -06:00
Aaron Piotrowski
1ccd6337f7
Update Travis for CS fixer
2019-01-24 22:12:31 -06:00
Aaron Piotrowski
c1a61c6e78
Use shared styles
2019-01-24 19:27:47 -06:00
Aaron Piotrowski
375bf3f63b
Set pending request before send
...
While unlikely, the same request ID could have been selected while waiting to send.
2019-01-24 18:16:45 -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
Niklas Keller
836b0896b0
Ignore docs/asset on export
...
Relates to amphp/amp#227
2018-05-16 22:23:07 +02:00
Niklas Keller
f48273546e
Update shared documentation files
...
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools .
2018-05-16 16:15:37 +02:00
Niklas Keller
4647e5f582
Accept different exception message for dead sockets
2018-05-01 20:08:54 +02:00
Niklas Keller
d8d497458a
Improve error messages
2018-05-01 19:55:02 +02:00
Austin Heap
41d02a30bb
Use ext-filter instead of inet_pton to avoid error suppression ( #73 )
2018-03-31 17:56:32 +02:00
Gabriel Caruso
e9ee48e269
Use assertLessThan over simple assertTrue
2018-03-31 08:17:46 +02:00
peter279k
6cdea2e995
Add tests ( #71 )
2018-03-11 09:39:46 +01: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
417a4a83f9
Fix PATH on AppVeyor
2017-12-15 17:14:52 +01:00
Niklas Keller
38f7431878
Disable phpdbg, because it causes segfaults
2017-12-15 17:03:56 +01:00
Niklas Keller
fb282e4e93
Allow amphp/file ^0.3
2017-12-15 17:02:47 +01:00
Niklas Keller
95cf192749
Use PHP 7.2 on AppVeyor
2017-12-15 16:58:35 +01:00
Niklas Keller
86833034cd
Update shared documentation files
...
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools .
2017-12-14 19:16:25 +01:00
Niklas Keller
f8bf80ad84
Update shared documentation files
...
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools .
2017-12-06 12:50:02 +01:00
Aaron Piotrowski
511e89c52b
Define target platform in composer.json and fix .travis.yml
2017-12-02 21:11:27 -06:00
Bob Weinand
cbaa517c8a
Fix #68 - cyclic reference within BasicResolver->gcWatcher
2017-11-07 16:18:49 +01:00
Niklas Keller
36ef1a6959
Prevent UDP sockets from leaking and close sockets on timeouts
2017-11-07 09:42:42 +01:00
Niklas Keller
4dbc6b1038
Update shared documentation files
...
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools .
2017-10-20 19:13:42 +02:00
Niklas Keller
c2a2258b8f
Update shared documentation files
...
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools .
2017-10-20 18:33:32 +02:00