diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2021-02-28 23:23:54 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2021-02-28 23:23:54 +0100 |
commit | 233f169f507e31472b23a64269878557d6f0f9fe (patch) | |
tree | 666e3a2920a4936097f970c89819909e69ad5db6 /src/main.c | |
parent | 3cac8f89459317626d521904d85fcb8267671c78 (diff) | |
download | dns-233f169f507e31472b23a64269878557d6f0f9fe.tar.gz |
construct answer/question
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 } |