Searched refs:domain_name (Results 1 – 1 of 1) sorted by relevance
274 def setup_dns_server(self, domain_name): argument281 self.log.info("Setup DNS server with domain name %s" % domain_name)282 self.ssh.run("uci set dhcp.@dnsmasq[0].local='/%s/'" % domain_name)283 self.ssh.run("uci set dhcp.@dnsmasq[0].domain='%s'" % domain_name)284 self.add_resource_record(domain_name, self.ip)308 def add_resource_record(self, domain_name, domain_ip): argument316 self.ssh.run("uci set dhcp.@domain[-1].name='%s'" % domain_name)