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.py256 def setup_dns_server(self, domain_name): argument
263 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): argument
298 self.ssh.run("uci set dhcp.@domain[-1].name='%s'" % domain_name)