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

375 Commits

Author SHA1 Message Date
Niklas Keller
8350fcddbe
Remove minimum stability 2023-01-10 21:37:07 +01:00
Aaron Piotrowski
e1ed9c8640
Split method handling received message or exception 2023-01-10 12:49:53 -06:00
Aaron Piotrowski
12a4b46ba7
Remove error suppression from calls to inet_pton() 2023-01-09 17:10:52 -06:00
Aaron Piotrowski
28383c051f
Remove error suppression when opening socket 2023-01-09 17:04:59 -06:00
Niklas Keller
67aa86ad63
Fix composer-require-check.json 2023-01-09 23:54:30 +01:00
Niklas Keller
f2098c773b
Rename resolver() to dnsResolver() 2023-01-09 23:53:10 +01:00
Niklas Keller
9f05c059f1
Fix code style 2023-01-09 23:43:02 +01:00
Niklas Keller
04e60b8720
Rename NoDnsRecordException to MissingDnsRecordException
See #107.
2023-01-09 23:40:59 +01:00
Niklas Keller
464adb1a20
Rename TimeoutException to DnsTimeoutException
See #107.
2023-01-09 23:39:45 +01:00
Niklas Keller
84145f0566
Rename NoRecordException to NoDnsRecordException
See #107.
2023-01-09 23:39:08 +01:00
Niklas Keller
8220e170b1
Rename ConfigException to DnsConfigException
See #107.
2023-01-09 23:38:33 +01:00
Niklas Keller
7c38a632c0
Update LICENSE date 2023-01-09 23:35:32 +01:00
Niklas Keller
39df21b330
Rename Resolver to DnsResolver
See #107.
2023-01-09 23:35:14 +01:00
Niklas Keller
3dd4f4da6d
Rename Record to DnsRecord
See #107.
2023-01-09 23:33:46 +01:00
Aaron Piotrowski
ce518ce058
Update to Psalm 5.4 2022-12-28 17:17:59 -06:00
Aaron Piotrowski
435b7038e8
Forbid clone and serialization of some classes 2022-12-28 16:55:34 -06:00
Aaron Piotrowski
2ce313ad73
Declare strict types 2022-12-17 11:37:04 -06:00
Aaron Piotrowski
0bbc6186e8
Add withTimeout() and withAttempts() to DnsConfig 2022-12-17 11:26:00 -06:00
Aaron Piotrowski
8fa78425d3
Fix double resolution on timeout 2022-12-11 14:08:06 -06:00
Aaron Piotrowski
fa679cb4e5
No need to close in defer 2022-12-11 00:29:56 -06:00
Niklas Keller
24f3eeac0c
Add compatibility with Revolt v1.x 2022-11-07 23:13:32 +01:00
Niklas Keller
30c032985f
Make note rewrite work 2022-09-17 16:46:03 +02:00
Niklas Keller
8c5959ef35
Fix headline 2022-09-16 19:53:38 +02:00
Niklas Keller
57f800ffc0
Move docs into README 2022-09-16 19:15:25 +02:00
Aaron Piotrowski
88d10e4b5b
Add readonly where applicable 2022-07-04 15:37:54 -05:00
Aaron Piotrowski
bd86e80712
Rename Config to DnsConfig
We've been trying to avoid such generic names in other libraries.
2022-07-04 15:24:42 -05:00
Aaron Piotrowski
42d2cbd941
Add optional Cancellation to Resolver methods 2022-07-04 15:12:50 -05:00
Niklas Keller
30b2247dbb Drop support for PHP 8.0 2022-02-23 00:21:48 +01:00
Niklas Keller
e11f2ebd4d Remove useless phpdoc tags 2022-02-23 00:18:40 +01:00
Niklas Keller
a8bac90b51 Await both DNS responses to restore IPv4 preference
This causes issues on systems that don't have IPv6 enabled otherwise, such as GitHub actions.
2022-02-23 00:16:00 +01:00
Niklas Keller
e0e33778d8 Fix usage of deprecated APIs 2022-02-03 23:41:14 +01:00
Niklas Keller
f559662cfd Fix hostname search domain 2022-02-03 23:30:20 +01:00
Niklas Keller
dbcc61988d Fix test if hostname contains dot 2022-02-03 23:13:30 +01:00
Niklas Keller
3321d78d6b Fix test if hostname contains dot 2022-02-03 23:12:49 +01:00
Niklas Keller
762e680044 Fix ConfigTest 2022-02-03 23:06:18 +01:00
Niklas Keller
716e748adb Add psalm
Fixes default search list based on hostname
2022-02-03 23:00:41 +01:00
Niklas Keller
6de50ee765 Skip php-cs-fixer on Windows 2022-02-03 22:08:54 +01:00
Niklas Keller
b771133214 Update revolt and php-cs-fixer 2022-02-03 22:06:03 +01:00
Saif Eddin Gmati
9ebfdf3ba4
Fix example in README (#105) 2021-12-16 16:32:47 +01:00
Niklas Keller
261fef2ec1 Fix error in ci.yml 2021-12-16 00:00:25 +01:00
Niklas Keller
978bc43e88 Move lib → src 2021-12-15 23:55:47 +01:00
Niklas Keller
40d5bc8387 Update docs 2021-12-15 23:43:20 +01:00
Niklas Keller
f76797484d Remove appveyor.yml 2021-12-15 23:37:34 +01:00
Niklas Keller
bba56a8003 Remove unnecessary final 2021-12-15 23:36:16 +01:00
Niklas Keller
11e8ae6176 Fix queue resumption on socket closure 2021-12-15 23:25:37 +01:00
Niklas Keller
bec75d7f08 Simplify TcpSocket::receive 2021-12-15 23:18:00 +01:00
Niklas Keller
9e29c3ce04 Cleanup code and fix smaller mistakes 2021-12-14 22:58:04 +01:00
Niklas Keller
42c82ca90b Update integration test due to failure 2021-12-14 21:13:51 +01:00
Niklas Keller
aed733c230 Add composer-require-checker and improve CI 2021-12-14 21:03:21 +01:00
Aaron Piotrowski
b0c8ccb6e4
Update for cache beta changes 2021-12-13 16:58:54 -06:00