From 233f169f507e31472b23a64269878557d6f0f9fe Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 28 Feb 2021 23:23:54 +0100 Subject: construct answer/question --- src/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main.c') 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 } -- cgit v1.2.3