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

326 Commits

Author SHA1 Message Date
Aaron Piotrowski
b0c8ccb6e4
Update for cache beta changes 2021-12-13 16:58:54 -06:00
Bob Weinand
7b2800e271 Update for new renames 2021-12-04 13:05:48 +01:00
Aaron Piotrowski
633dd37600
Update for rename of coroutine to launch 2021-11-21 13:20:05 -06:00
Aaron Piotrowski
3407371451
Update for removal of Revolt\launch 2021-10-19 19:16:01 -05: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
Aaron Piotrowski
7e78dd0c96
Merge branch 'master' into v2-revolt
# Conflicts:
#	lib/Rfc1035StubResolver.php
2021-09-14 19:23:21 -05:00
Niklas Keller
e9a73e98bf Use revolt 2021-03-27 10:08:32 +01:00
Niklas Keller
920eb4786b Upgrade LICENSE date 2021-02-02 21:01:57 +01:00
Niklas Keller
c3ca5d1a0b Change README to use new build badge 2021-02-02 21:01:04 +01:00
Niklas Keller
93bfbad307 Switch from Travis CI to GitHub Actions 2021-02-02 20:44:44 +01:00
Niklas Keller
659bad6bba Improve warning if config loading fails 2021-02-02 20:38:19 +01:00
Aaron Piotrowski
b6df154cd9
Update examples 2020-11-09 10:47:03 -06:00
Aaron Piotrowski
0a54e59beb
Refactor for Amp v3 2020-10-09 23:49:05 -05:00
Niklas Keller
299511d7e6 Update shared documentation files
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools.
2020-08-30 21:22:30 +02:00
Niklas Keller
f182bab5dc Update shared documentation files
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools.
2020-07-23 22:42:03 +02:00
Niklas Keller
8522925322 Add timeout to no response error message 2020-07-21 21:04:57 +02:00
Niklas Keller
8cf2ccc4fa Ignore ServFail / NxDomain for each list responses
Relates to #99.
2020-06-19 22:28:16 +02:00
Niklas Keller
be0eab3bf4 Update shared documentation files
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools.
2020-03-31 21:57:42 +02:00
Niklas Keller
090ea8e164
Update AppVeyor to PHP 7.4 (#97) 2020-03-04 19:46:13 +01:00
Niklas Keller
b52c8fd255 Allow custom domain in custom config example 2019-12-12 20:09:10 +01:00
Guuzen
9d7e57f37d Allow resolving dotless hosts without search list (#94)
Fixes #93.
2019-11-28 21:10:22 +01: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
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