summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.h10
-rw-r--r--src/core/config.c8
2 files changed, 18 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 879d0255a..22f28fe5a 100644
--- a/src/config.h
+++ b/src/config.h
@@ -66,6 +66,16 @@
/* @BEGIN general.h
*
+ * Name resolution modules
+ *
+ */
+
+#define DNS_RESOLVER /* DNS resolver */
+
+/* @END general.h */
+
+/* @BEGIN general.h
+ *
* Obscure configuration options
*
* You probably don't need to touch these.
diff --git a/src/core/config.c b/src/core/config.c
index 59db783c7..71f656cf3 100644
--- a/src/core/config.c
+++ b/src/core/config.c
@@ -169,3 +169,11 @@ REQUIRE_OBJECT ( pc_kbd );
#ifdef RELOCATE
REQUIRE_OBJECT ( relocate );
#endif
+
+/*
+ * Drag in any required resolvers
+ *
+ */
+#ifdef DNS_RESOLVER
+REQUIRE_OBJECT ( dns_resolver );
+#endif