Свойство | Тип | Описание | |
---|---|---|---|
$dnsCache | |||
$ec2 | |||
$listener | |||
$tld | |||
$ttl |
Метод | Описание | |
---|---|---|
__construct ( |
Creates the class. | |
onQueryCallback ( Hoa\Event\Bucket $bucket ) : false | string | onQuery callback | |
run ( ) : void | This method starts the ec2dns eventloop |
Метод | Описание | |
---|---|---|
getCache ( string $type, string $tag ) : false | string | dnsCache Getter | |
resolve ( string $type, string $tag ) : false | string | This method resolves tags to IPs via ec2host. | |
setCache ( string $type, string $tag, string $ip ) : void | dnsCache Setter | |
stripTld ( string $domain ) : string | Returns the tag. |
public onQueryCallback ( Hoa\Event\Bucket $bucket ) : false | string | ||
$bucket | Hoa\Event\Bucket | |
Результат | false | string |