unbound  0.1
Functions
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 <ldns/ldns.h>
#include "libunbound/unbound.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 ldns_rr_list * result2answer (struct ub_result *result)
 get answer into ldns rr list
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).