From 0cedf671c610710844b681fd93301aeda08a96bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20De=20Keersmaeker?=
 <francois.dekeersmaeker@uclouvain.be>
Date: Thu, 14 Nov 2024 14:04:54 +0000
Subject: [PATCH] DNS: changed default DNS server to LAN gateway (192.168.1.1)

---
 profile_translator_blocklist/templates/main.c.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profile_translator_blocklist/templates/main.c.j2 b/profile_translator_blocklist/templates/main.c.j2
index 83d9167..49f012e 100644
--- a/profile_translator_blocklist/templates/main.c.j2
+++ b/profile_translator_blocklist/templates/main.c.j2
@@ -37,7 +37,7 @@ int main(int argc, char *argv[]) {
     // Initialize variables
     int ret;
     {% if use_dns %}
-    char *dns_server_ip = "8.8.8.8";  // Default DNS server: Google Quad8
+    char *dns_server_ip = "192.168.1.1";  // Default DNS server: LAN gateway
     {% endif %}
 
     // Setup SIGINT handler
-- 
GitLab