Home  Contents

resolver:setServers

Rawio Core4 Lua Event System

SYNOPSIS

resolver:setServers(dns1[, dns2])

DESCRIPTION

Manually set up to two DNS servers for use with this resolver instance. If this call is not used, the resolver defaults to using the servers set in the kconfig configuration space.

Each resolver instance has its own server list that starts with the kconfig servers at instantiation.

The servers must be specified by IPv4 address in string form.

RETURN VALUE

None.