examples/gnrc_border_router: enable sock_dns if WiFi uplink is used#13732
examples/gnrc_border_router: enable sock_dns if WiFi uplink is used#13732benpicco wants to merge 1 commit intoRIOT-OS:masterfrom
Conversation
When using a WiFi uplink it is very likely we also have proper DNS set up. So enable the `sock_dns` module by default. This allows us to ping6 proper hostnames instead of IP addresses. It also enables the dissemination of DNS server information in the LoWPAN network.
|
But there is no DNS server announcement support for DHCPv6 yet. So does this make sense? |
|
Thinking more about this, I think this adds just too much feature creep to the border router... How about adding just a commented-out version of your proposal to the main Makefile, as we currently do for |
|
When I run so the DNS information comes in through router advertisements. And the border router will forward them with |
Only if you configure your router advertisement daemon as such.
If you are worried that with the commented-out version of my proposal for this would not work due to regressions, then maybe we should add a |
Well I didn't do that, that was AVM 😉
Hm I'm not sure what you mean - just adding a comment about (I actually had to cheat a bit. For some reason my border router can't ping addresses outside my LAN, but nodes connected to the border router can. This worked yesterday and since the BR can still ping my Fritz!Box and my PC I suspect a fuckup in my network…) |
|
Then let me try to provide some alternative PR(s) ... tomorrow 😜 |
See #13734. |
See #13735 |
Contribution description
When using a WiFi uplink it is very likely we also have proper DNS set up.
So enable the
sock_dnsmodule by default.This allows us to
ping6proper hostnames instead of IP addresses.It also enables the dissemination of DNS server information in the LoWPAN network.
Testing procedure
Issues/PRs references