anchor-update.c File Reference

This file is made because contrib/update-anchor.sh does not work on windows (no shell). More...

#include "config.h"
#include "libunbound/unbound.h"
#include "sldns/rrdef.h"
#include "sldns/pkthdr.h"
#include "sldns/wire2str.h"

Functions

static void usage (void)
 usage
 
static void fatal (const char *str)
 fatal exit
 
static struct ub_resultdo_lookup (struct ub_ctx *ctx, char *domain)
 lookup data
 
static void do_print (struct ub_result *result, char *file)
 print result to file
 
static int do_update (char *domain, char *file)
 update domain to file
 
int main (int argc, char **argv)
 anchor update main
 

Detailed Description

This file is made because contrib/update-anchor.sh does not work on windows (no shell).