aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/0tDNS.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/0tDNS.c b/src/0tDNS.c
index 4c3a52c..b7d1277 100644
--- a/src/0tDNS.c
+++ b/src/0tDNS.c
@@ -1,3 +1,23 @@
+/*
+ * Code in examine_result() is taken from official libunbound examples:
+ * https://nlnetlabs.nl/documentation/unbound/libunbound-tutorial-3/
+ * The rest of this file is
+ * Copyright (C) 2020 by Wojtek Kosior <echo a3dvanR1c0Bwcm90b25tYWlsLmNvbQo= | base64 --decode>
+
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+ * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+ * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
+ * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
+ * OF THIS SOFTWARE.
+ */
+
+
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>