Skip to content

v0.4.11

Compare
Choose a tag to compare
@clue clue released this 25 Aug 08:23
· 260 commits to 3.x since this release
  • Feature: Support resolving from default hosts file
    (#75, #76 and #77 by @clue)

    This means that resolving hosts such as localhost will now work as
    expected across all platforms with no changes required:

    $resolver->resolve('localhost')->then(function ($ip) {
        echo 'IP: ' . $ip;
    });

    The new HostsExecutor exists for advanced usage and is otherwise used
    internally for this feature.