LitGroupDnsBundle
🚫 (This project is no longer maintained.), (*1)
This bundle integrates React DNS into the Symfony 2 environment., (*2)
, (*3)
Master branch status:
, (*4)
Installation
Use [composer][2] to install LitGroupDnsBundle:, (*5)
"require": {
"litgroup/dns-bundle": "1.0.x-dev"
}
Register bundle in the AppKernel:, (*6)
<?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
., (*7)
See React DNS library documentation for more details., (*8)
License
See details in the Resources/meta/LICENSE
., (*9)