Skip to content
This repository has been archived by the owner on Jan 18, 2018. It is now read-only.

LitGroupArchive/LitGroupDnsBundle

Repository files navigation

LitGroupDnsBundle

🚫 (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.

About

🚫 (This project is no longer maintained.) React DNS integration for Symfony 2

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages