diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 } |