Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

# apps/resolv/resolv.c File Reference

## Detailed Description

DNS host name to IP address resolver.

Author:
  Adam Dunkels <adam@dunkels.com>

This file implements a DNS host name to IP address resolver.

`#include "resolv.h"`
`#include <string.h>`

Include dependency graph for resolv.c:

## Functions
void | resolv_query (char *name)
| Queues a name so that a question for the name will be sent out.
u16_t * | resolv_lookup (char *name)
| Look up a hostname in the array of known hostnames.
u16_t * | resolv_getserver (void)
| Obtain the currently configured DNS server.
void | resolv_conf (u16_t *dnsserver)
| Configure which DNS server to use for queries.
void | resolv_init (void)
| Initalize the resolver.