class hostingService_dns_dnsmasq in Hosting 6.2
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
- 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";
}
}