litgroup/dns-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

React DNS integration for Symfony2.

Installs: 119

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Type:symfony-bundle

v0.1.0 2014-06-30 15:13 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:36:33 UTC


README

🚫 (This project is no longer maintained.)

This bundle integrates React DNS into the Symfony 2 environment.

Latest Stable Version Total Downloads Latest Unstable Version License

Master branch status: Build Status

Installation

Use composer to install LitGroupDnsBundle:

"require": {
    "litgroup/dns-bundle": "1.0.x-dev"
}

Register bundle in the AppKernel:

<?php // AppKernel.php

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            // LitGroupEventLoopBundle should be registered first:
            new LitGroup\Bundle\EventLoopBundle\LitGroupEventLoopBundle(),
            new LitGroup\Bundle\DnsBundle\LitGroupDnsBundle(),
        ];
        // ...

        return $bundles;
    }

    // ...
}

Configuration

lit_group_dns:
    nameserver: '8.8.8.8' // Nameserver IP address (required):
    cache: true           // Use cached DNS resolver (optional, default: false)

Usage

Use litgroup_dns.resolver service to receive React\Dns\Resolver\Resolver.

See React DNS library documentation for more details.

License

See details in the Resources/meta/LICENSE.