You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
From: Jason Rhinelander <jason@imaginary.ca>
|
|
|
|
Date: Tue, 10 Sep 2019 19:23:47 -0300
|
|
|
|
Subject: Add no-resolvconf hack to default config
|
|
|
|
|
|
|
|
---
|
|
|
|
llarp/config/config.cpp | 5 +++++
|
|
|
|
1 file changed, 5 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/llarp/config/config.cpp b/llarp/config/config.cpp
|
|
|
|
index 32aa359..de8c646 100644
|
|
|
|
--- a/llarp/config/config.cpp
|
|
|
|
+++ b/llarp/config/config.cpp
|
|
|
|
@@ -670,6 +670,11 @@ llarp_generic_ensure_config(std::ofstream &f, std::string basepath,
|
|
|
|
f << "bind=127.0.0.1:1153\n";
|
|
|
|
#else
|
|
|
|
f << "bind=127.3.2.1:53\n";
|
|
|
|
+
|
|
|
|
+ f << "# Uncomment if you want to disable trying to call resolvconf to update the system nameserver\n"
|
|
|
|
+ << "# (only applies if the system is actually using resolvconf):\n"
|
|
|
|
+ << "#no-resolvconf=1\n";
|
|
|
|
+
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
f << "bind=127.0.0.1:53\n";
|