Versions Compared

Key

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

...

Command
Description
ArgumentUsage example
dns_get_hostResolve a host name. Will printout all address retrieved for an host.Host name.dns_get_host micrium.com
dns_server_setConfigure the default server.server ip address.dns_server_set 8.8.8.8
dns_cache_clrClear all host of the DNS cachenone.dns_cache_clr
dns_helpPrint helpnonedns_help

The following sections provide sample code describing how to use µC/DNSc.

API reference

Include Files

Wherever you want to use µC/DNSc, you should include the following header:

...

Include file

...

Description

...

Module initialization

...

Function name

...

Description

...

Resolve an host name

...

Function name

...

Description

...

Cache management

...

Function name

...

Description

...

Default Server

...

Function name

...

Description

...

Shell reference

Prerequisite

µC/TCP-IP command module.

Include Files

Wherever you want to use initialize the command in µC/Shell, you should include the following header:

Include file
Description
Cmd/dns-c_cmd.hContains DNSc Command definitions

API

...

Function name

...

Description

...

Command reference

...

Command

...

Description

...