Skip to content

Commit

Permalink
sys: net: dns: use Quad resolver
Browse files Browse the repository at this point in the history
Replaces Google's solver with the Quad9 (https://quad9.net/) ones.
  • Loading branch information
OlegHahm committed Jan 3, 2025
1 parent 74eddd6 commit 395bdb8
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 395bdb8

Please sign in to comment.