WE310F5  39.00.000
m2mb_dns_server.h File Reference

This file contains the public APIs and structures of the Domain Name System(DNS) server module. More...

Go to the source code of this file.

Data Structures

struct  M2MB_DNS_SERVER_HOST
 Structure of HOST in the DNS server. More...
 
#define M2MB_DNS_MAX_HOSTNAME_LEN   128
 
typedef struct M2MB_DNS_SERVER_HOST M2MB_DNS_SERVER_HOST_T
 Structure of HOST in the DNS server. More...
 
M2MB_STATUS_T m2mb_dns_server_init (VOID)
 DNS server initialization. More...
 
M2MB_STATUS_T m2mb_dns_server_deinit (VOID)
 DNS server de-initialization. More...
 
M2MB_STATUS_T m2mb_dns_server_add_host (const char *hostName, UINT32 ip4addr, M2MB_SOCKET_BSD_IPV6_ADDR_T *ip6addr, UINT32 ttl)
 Add a DNS host information. More...
 
M2MB_STATUS_T m2mb_dns_server_delete_host (const char *hostName)
 Delete the host information. More...
 
M2MB_STATUS_T m2mb_dns_server_is_started (VOID)
 Check the running status of DNS server. More...
 

Detailed Description

This file contains the public APIs and structures of the Domain Name System(DNS) server module.

we866e4/epl/inc/nwk/m2mb_dns_server.h

DNS server provides APIs to add/delete host name which a DNS client can query to resolve the host name to IP address.

The DNS Server service provides a name resolution service to resolve a host name to an IPv4/IPv6 address.

Note
<Notes, dependencies mandatory> Dependencies: m2mb_types.h m2mb_socket.h
Author
Sandeep Itha
Date
27/10/2017

Definition in file m2mb_dns_server.h.