aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 36a37c6..bb1a4ac 100644
--- a/src/main.c
+++ b/src/main.c
@@ -16,15 +16,20 @@
int main(int argc, char* argv[])
{
+ log_init_stdout(_LOG_DEBUG);
//CMD line arg parsing goes in here
#ifdef _TEST
run_test();
#else
server_config_t config;
+
+ memset(&config, 0, sizeof config);
+
config.bind_ip = "0.0.0.0";
config.bind_port = 53;
+ config.zonefile = "/nofile";
- run_dns_server( &config );
+ server_start( &config );
#endif
}