Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Module initialization

Function name
Description
DNSc_Init()Initialize µC/DNSc module's objects and tasks. This function must be called prior to any other API

Resolve an host name

Function name
Description
DNSc_GetHost()Resolve or retrieve a host name from the cache

Cache management

Function name
Description
DNSc_CacheClrAll()Clear (flush) all entries in the DNS cache.
DNSc_CacheClrHost()Remove a specific host name from the DNS cache.

Default Server

Function name
Description
DNSc_CfgServerByStr()Configure default server using a string.
DNSc_CfgServerByAddr()Configure default server using an DNS address object.
DNSc_GetServerByStr()Get the default server configured in string format.
DNSc_GetServerByAddr()Get the default server configured in DNS object format.

Shell reference

Prerequisite

...

API

Function name
Description
DNScCmd_Init()Function to load DNS client command into shell.

...