Aaron Piotrowski
|
12884f8d9c
|
Style fix
|
2023-01-11 18:13:48 -06:00 |
|
Aaron Piotrowski
|
ce71845dd1
|
Concise IP check
|
2023-01-11 18:00:59 -06:00 |
|
Aaron Piotrowski
|
7344cceb95
|
More specific DnsResolver return types
|
2023-01-11 17:50:18 -06:00 |
|
Aaron Piotrowski
|
9d988e3127
|
Try entire search list when resolve type is restricted
|
2023-01-11 17:49:25 -06:00 |
|
Aaron Piotrowski
|
ac877da168
|
Must whitelist random_int() instead of ext-random
|
2023-01-10 16:42:54 -06:00 |
|
Aaron Piotrowski
|
da2dfe1288
|
Add ext-random to list
|
2023-01-10 16:40:48 -06:00 |
|
Aaron Piotrowski
|
321e32c5b4
|
CI test on 8.2
|
2023-01-10 16:38:38 -06:00 |
|
Niklas Keller
|
ab3a306db5
|
Fix psalm issue
|
2023-01-10 23:36:15 +01:00 |
|
Niklas Keller
|
ab62cb8d92
|
Run psalm on CI
|
2023-01-10 23:35:32 +01:00 |
|
Niklas Keller
|
a8c9cee1c3
|
Ignore malformed UDP packets
Relates to #102.
|
2023-01-10 23:29:50 +01:00 |
|
Niklas Keller
|
70b29f2bfe
|
Fix type
|
2023-01-10 22:48:28 +01:00 |
|
Niklas Keller
|
07933edb97
|
Refactor exception code check
|
2023-01-10 22:45:17 +01:00 |
|
Niklas Keller
|
4f3975785a
|
Avoid setting socket errno as exception code
These codes are supposed to be DNS RCODEs.
|
2023-01-10 22:39:30 +01:00 |
|
Niklas Keller
|
cf2f81b98f
|
Require stable php-cs-fixer-config
|
2023-01-10 21:40:23 +01:00 |
|
Niklas Keller
|
301ce794c0
|
Update windows registry to static methods
|
2023-01-10 21:38:33 +01:00 |
|
Niklas Keller
|
b00d1b52fd
|
Remove ext-json as it's always enabled now
|
2023-01-10 21:37:17 +01:00 |
|
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 |
|