Searched refs:domain_name (Results 1 – 1 of 1) sorted by relevance
256 def setup_dns_server(self, domain_name): argument263 self.log.info("Setup DNS server with domain name %s" % domain_name)264 self.ssh.run("uci set dhcp.@dnsmasq[0].local='/%s/'" % domain_name)265 self.ssh.run("uci set dhcp.@dnsmasq[0].domain='%s'" % domain_name)266 self.add_resource_record(domain_name, self.ip)290 def add_resource_record(self, domain_name, domain_ip): argument298 self.ssh.run("uci set dhcp.@domain[-1].name='%s'" % domain_name)