Skip to content

v1.7.0

Compare
Choose a tag to compare
@clue clue released this 25 Jun 10:55
  • Feature: Update DNS Factory to accept complete Config object.
    Add new FallbackExecutor and use fallback DNS servers when Config lists multiple servers.
    (#179 and #180 by @clue)

    // old (still supported)
    $config = React\Dns\Config\Config::loadSystemConfigBlocking();
    $server = $config->nameservers ? reset($config->nameservers) : '8.8.8.8';
    $resolver = $factory->create($server, $loop);
    
    // new
    $config = React\Dns\Config\Config::loadSystemConfigBlocking();
    if (!$config->nameservers) {
        $config->nameservers[] = '8.8.8.8';
    }
    $resolver = $factory->create($config, $loop);
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy