Home
last modified time | relevance | path

Searched refs:domain_name (Results 1 – 1 of 1) sorted by relevance

/tools/test/connectivity/acts/framework/acts/controllers/openwrt_lib/
Dnetwork_settings.py229 def setup_dns_server(self, domain_name): argument
236 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): argument
271 self.ssh.run("uci set dhcp.@domain[-1].name='%s'" % domain_name)