aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-02-28 23:23:54 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-02-28 23:23:54 +0100
commit233f169f507e31472b23a64269878557d6f0f9fe (patch)
tree666e3a2920a4936097f970c89819909e69ad5db6 /src/main.c
parent3cac8f89459317626d521904d85fcb8267671c78 (diff)
downloaddns-233f169f507e31472b23a64269878557d6f0f9fe.tar.gz
construct answer/question
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 848f04e..36a37c6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -20,7 +20,11 @@ int main(int argc, char* argv[])
#ifdef _TEST
run_test();
#else
- run_dns_server();
+ server_config_t config;
+ config.bind_ip = "0.0.0.0";
+ config.bind_port = 53;
+
+ run_dns_server( &config );
#endif
}