class hostingService_dns_dnsmasq in Hostmaster (Aegir) 6
An implementation of the dns service type, registered with hook_hosting_service.
Hierarchy
- class \hostingService
- class \hostingService_dns
- class \hostingService_dns_master
- class \hostingService_dns_dnsmasq
- class \hostingService_dns_master
- class \hostingService_dns
Expanded class hierarchy of hostingService_dns_dnsmasq
File
- modules/
hosting/ dns/ hosting_dns.service.inc, line 104 - Provide the hosting serivce classes for DNS integration.
View source
class hostingService_dns_dnsmasq extends hostingService_dns_master {
public $type = 'dnsmasq';
public $has_restart_cmd = TRUE;
function default_restart_cmd() {
return "sudo /etc/init.d/dnsmasq restart";
}
}