-
Notifications
You must be signed in to change notification settings - Fork 193
DNS Proxy
Laurent Deru edited this page May 4, 2016
·
2 revisions
The DNS Proxy, or DNS Forwarder, inside 6LBR allows the nodes to use the 6LBR as DNS server. Therefore a DNS server must not be preconfigured in the nodes or transmitted using an application specific channel.
The actual DNS Server can either be configured manually in the WSN configuration page or be auto configured using DHCP.
The following code can be used in a node to configure the 6LBR as the selected name server :
rpl_dag_t *dag = rpl_get_any_dag();
if(dag) {
uip_ipaddr_copy(sixlbr_addr, globaladdr);
uip_nameserver_update(dag->dag_id, UIP_NAMESERVER_INFINITE_LIFETIME);
}
- Home
- Features
- Supported Hardware
- Download
- Changelog
- FAQ
- Installation:
- Configuration
- Deployment
- Documentation
- Extensions
- Tools
- Examples
- Tutorials
- Publications
- Acknowledgements
- Internal and old