[riot-notifications] [RIOT] dns: Add DNS support to RIOT (#3805)
DipSwitch
notifications at github.com
Wed Sep 9 16:54:17 CEST 2015
And since the DNS servers are provided via the Router Advertisement on an interface, would it be okay to add something like the following to the `gnrc_ipv6_netif_t` structure?
#if defined(MODULE_GNRC_DNS)
gnrc_dns_servers_t dns;
#endif
Where:
/**
* @brief DNS server entry
*/
typedef struct {
uint32_t lifetime; /**< Lifetime of the server / OR time when entry can no longer be used */
ipv6_addr_t dns_server[GNRC_DNS_SERVERS_SUPPORT]; /**< DNS server address */
} gnrc_dns_servers_t;
Then the MODULE_GNRC_NDP_ROUTER can also use it to send his entries to other nodes.
But I can also make a real separate module of it.
---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/3805#issuecomment-138937002
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150909/a996ea8d/attachment.html>
More information about the notifications
mailing list