Searched refs:domain_name (Results 1 – 1 of 1) sorted by relevance
229 def setup_dns_server(self, domain_name): argument236 self.log.info("Setup DNS server with domain name %s" % domain_name)237 self.ssh.run("uci set dhcp.@dnsmasq[0].local='/%s/'" % domain_name)238 self.ssh.run("uci set dhcp.@dnsmasq[0].domain='%s'" % domain_name)239 self.add_resource_record(domain_name, self.ip)263 def add_resource_record(self, domain_name, domain_ip): argument271 self.ssh.run("uci set dhcp.@domain[-1].name='%s'" % domain_name)