dashboard
repositories
filestore
activity
search
login
main
/
dnscomp
mirror of
https://github.com/Chizi123/dnscomp.git
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
Buf is passed in so can be read separately, removed functions from header
Joel Grunbaum
2020-10-18
0f826d0a73bb1bbed0dd38b914be40ca8dc491ea
[dnscomp.git]
/
main.c
1
2
3
4
5
6
7
8
9
#include "dns.h"
int main(int argc, char** argv)
{
unsigned char buf[65536];
resolve(buf, "google.com", "1.1.1.1", T_A);
print_packet(buf);
return 0;
}