Skip to content

Commit

Permalink
sys: net: dns: use OpenNIC nameservers
Browse files Browse the repository at this point in the history
Replaces Google's name servers with the OpenNIC (https://opennic.org/)
ones.
  • Loading branch information
OlegHahm committed Jan 2, 2025
1 parent 74eddd6 commit d684ba1
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 d684ba1

Please sign in to comment.