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 OpenNIC nameservers
  • Loading branch information
maribu authored Jan 2, 2025
2 parents 74eddd6 + d684ba1 commit cc11ffd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys/include/net/sock/dns.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ extern "C" {
#ifndef CONFIG_AUTO_INIT_SOCK_DNS_SERVER_ADDR
/* Default to Google 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 "2a00:f826:8:1::254"
#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 "94.247.43.254"
#endif
#endif

Expand Down

0 comments on commit cc11ffd

Please sign in to comment.