Skip to content

Commit

Permalink
Merge pull request #21120 from OlegHahm/pr/opennic_ns_instead_of_google
Browse files Browse the repository at this point in the history
sys: net: dns: use Quad9 resolver
  • Loading branch information
maribu authored Jan 3, 2025
2 parents 74eddd6 + 395bdb8 commit 725a22e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sys/include/net/sock/dns.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ extern "C" {
* @brief Address of the DNS server
*/
#ifndef CONFIG_AUTO_INIT_SOCK_DNS_SERVER_ADDR
/* Default to Google Public DNS */
/* Default to Quad9 Public DNS */
#if CONFIG_AUTO_INIT_SOCK_DNS_IP_VERSION == 6
#define CONFIG_AUTO_INIT_SOCK_DNS_SERVER_ADDR "2001:4860:4860::8888"
#define CONFIG_AUTO_INIT_SOCK_DNS_SERVER_ADDR "2620:fe::fe"
#elif CONFIG_AUTO_INIT_SOCK_DNS_IP_VERSION == 4
#define CONFIG_AUTO_INIT_SOCK_DNS_SERVER_ADDR "8.8.8.8"
#define CONFIG_AUTO_INIT_SOCK_DNS_SERVER_ADDR "9.9.9.9"
#endif
#endif

Expand Down

0 comments on commit 725a22e

Please sign in to comment.