3 #include "../include/firedns.h"
5 int main(int argc
, char **argv
) {
7 firedns_state dns
, *d
= &dns
;
10 fprintf(stderr
,"usage: %s <hostname>\n",argv
[0]);
15 firedns_add_servers_from_resolv_conf(d
);
17 result
= firedns_resolvemx(d
, argv
[1]);
20 printf("%s\n",result
);