/* main.c * (c) Jonas Gunz, 2019 * License: MIT * */ #include #include #include #include "log.h" #include "server.h" #ifdef _TEST #include "test.h" #endif int main(int argc, char* argv[]) { //CMD line arg parsing goes in here #ifdef _TEST run_test(); #else server_config_t config; config.bind_ip = "0.0.0.0"; config.bind_port = 53; run_dns_server( &config ); #endif }