Skip to content

Releases: amphp/dns

2.0.0 Beta 1

15 Dec 23:28
v2.0.0-beta.1
Compare
Choose a tag to compare
2.0.0 Beta 1 Pre-release
Pre-release
  • Removed promises in favor of fibers.
  • Compatibility with Amp v3 and Revolt.

1.2.3

21 Jul 19:39
v1.2.3
Compare
Choose a tag to compare
  • Improved error message if no response was received

1.2.2

20 Jun 10:08
v1.2.2
Compare
Choose a tag to compare
  • Fixed resolving domains with search list and ndots > 1 (#99)

1.2.1

03 Dec 18:09
v1.2.1
Compare
Choose a tag to compare
  • Fixed resolving dotless host names without search option, e.g. Docker containers (#93, #94)

1.2.0

30 Jul 16:17
v1.2.0
Compare
Choose a tag to compare
  • Added support for search list and ndots option
  • Added support for rotate option
  • Added support for LOCALDOMAIN and RES_OPTIONS environment variables
  • Increased default timeout from 3s to 5s and limit it to 30s

Thanks to @brzuchal for implementing these features.

1.1.0

08 Jul 21:08
v1.1.0
Compare
Choose a tag to compare
  • Support final dot in DNS names (#83)
  • Provide blocking fallback if config cannot be loaded (#86)
  • Fix empty resolution result on too many redirects (#87)

0.9.15

08 Jul 21:05
v0.9.15
Compare
Choose a tag to compare
  • Allow underscores in hostnames
  • Support final dot in DNS names (#83)
  • Fix empty resolution result on too many redirects (#87)

1.0.0

13 Mar 22:57
v1.0.0
Compare
Choose a tag to compare
  • Improved localhost handling in edge cases
  • Improved normalizeName() to allow underscores
  • Renamed BasicResolver to Rfc1035StubResolver
  • Renamed driver() to createDefaultResolver()
  • Removed ResolutionException, catch DnsException instead
  • Removed InvalidNameError

0.9.14

11 Feb 16:57
1ccd633
Compare
Choose a tag to compare
  • Removed amphp/file and amphp/uri dependencies. Host file loading is now done with a synchronous read by default. We felt an asynchronous read was not necessary for what should be a local file that is (generally) read only once. Async reading can be restored if desired by extending HostLoader and overloading readFile().
  • Added functions isValidName() and normalizeName().

0.9.13

01 May 18:20
v0.9.13
Compare
Choose a tag to compare
  • Use ext-filter instead of error suppression (#73)
  • Improve error messages