You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/09/20 15:20:17 UTC
[GitHub] [incubator-nuttx] vshymanskyy opened a new issue, #7145: PPP: Use the DNS servers negotiated in the `IPCP` configuration
vshymanskyy opened a new issue, #7145:
URL: https://github.com/apache/incubator-nuttx/issues/7145
DNS with PPP connections only work if `CONFIG_NETDB_DNSSERVER_IPv4ADDR` is manually set to DNS ip address (i.e. `0x08080808` for Google DNS).
IPCP could be used to configure network-provided DNS address.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] acassis commented on issue #7145: PPP: Use the DNS servers negotiated in the `IPCP` configuration
Posted by GitBox <gi...@apache.org>.
acassis commented on issue #7145:
URL: https://github.com/apache/incubator-nuttx/issues/7145#issuecomment-1254823117
Good point, currently the IP is got automatically, so we need to add support to get the DNS as well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] duduita commented on issue #7145: PPP: Use the DNS servers negotiated in the `IPCP` configuration
Posted by "duduita (via GitHub)" <gi...@apache.org>.
duduita commented on issue #7145:
URL: https://github.com/apache/nuttx/issues/7145#issuecomment-1649959448
It seems that NuttX supports the usage of IPCP-provided DNS servers [by enabling the IPCP_GET_PRI_DNS and IPVP_GET_SEC_DNS ](https://github.com/apache/nuttx-apps/blob/7afa9b51ea97b20ecfabdc8441b518b213d30f76/netutils/pppd/ppp.h#L137C1-L137C1) defines. Then, you will be able to get the DNS servers automatically, and will not have to set the DNS on the `CONFIG_NETDB_DNSSERVER_IPv4ADDR` config. @vshymanskyy
I'm not sure why these defines were not an explicit option in the menu config (at least I haven't found them there). Anyway, I did some tests here, and it seems that I'm getting the DNS servers properly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org