Questions tagged [unbound]

73 questions
1
vote
1 answer

Usage of 'local' plugin in coredns

As I am new to coredns configurations in kubernetes and I'm trying to explore plugins provided by coredns in kubernetes. I see a plugin named local which will respond with a reply to local requests. But I could not understand a use-case where this…
anonymous user
  • 257
  • 5
  • 23
1
vote
1 answer

Weird "Unbound Value" in Ocaml

I've encountered this problem where this code does not compile due to a Unbound Value error. module Nim : Game = struct type state = int;; type action = int;; let getInitialState () = 21;; let getActions e = if e = 1 then [1]…
Simon
  • 11
  • 2
1
vote
1 answer

empty?: unbound identifier

ORIGINAL QUESTION: Write a recursive Racket function "more" that takes two lists, xs and ys, as parameters and returns true if xs has more elements than ys and false otherwise. For example (more '(1 2 3) '(1 2)) should evaluate to true while (more…
1
vote
0 answers

Pihole + Unbound in Docker Container

I have a raspberry pi 4 with ARMv7 Processor rev 3 (v7l). I have been trying for days to find a solution to have pihole and unbound with DNS over TLS in docker containers. Since I do not have much experience in dockers (please be lenient) I found…
George Wright
  • 61
  • 1
  • 10
1
vote
2 answers

Unbound not resolving some domains

I have an Unbound container running on a test server to proxy DNS traffic. The problem is that it fails for some domains while working perfectly for everything else. This is a response for a failed domain using dig: dig @127.0.0.1…
Romeo Mihalcea
  • 9,714
  • 12
  • 50
  • 102
1
vote
0 answers

UnboundLocalError: local variable 'X_train' referenced before assignment

def CreateData(self, n_samples, seed_in=5, train_prop=0.9, bound_limit=6., n_std_devs=1.96,**kwargs): np.random.seed(seed_in) scale_c=1.0 # default shift_c=1.0 # for ideal boundary X_ideal =…
1
vote
1 answer

Linker can't find shared object with Libunbound

I'm trying to run some code using the library. I'm using an example from the Unbound docs. I compiled and installed Unbound, following these steps. Now, I can compile the example using gcc -o example eample_1.c -I/usr/local/include…
Rikkert
  • 23
  • 3
1
vote
0 answers

Can While loop in a function use variables defined outside the function as a condition? I'm confused

I Just need some clarification on why while loop cannot use variables outside the function. It keeps saying the variables has not been assigned yet even though it has. Does it has something to do with precedence? On how python sets up variables? Or…
1
vote
1 answer

ODATA: unbound function returning a complex type with a collection

I have been trying to implement something with odata and ASP.NET Core 3 that just does not want to work properly and I cannot seem to figure out what's wrong. I created a small sample application to demonstrate. I have an odata service I can use to…
gaborzo
  • 167
  • 10
1
vote
1 answer

How to solve Unbound Local error in my conditional block

I need to find the discount of an order I used the following code to make the string input of order numbers to a dictionary and thenused sum() to find the total of the order However I wish to have an offer discount if there is one-1 and one-3 and…
user13973446
1
vote
1 answer

Unbound module Graphics Ocaml on Linux mint

i have read multiple identical problem but answers dont fix it. The OCaml toplevel, version 4.11.0+dev0-2019-10-18 opam list # Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads …
laticoda
  • 100
  • 14
1
vote
1 answer

unbound DNS killed immediately after starting

I'm trying to set up unbound as my DNS resolver, but it seems that unbound terminates immediately after starting. Nothing in the logs seems to suggest why that is happening. This server has pi-hole installed on it and is also running an Apache…
moodoki
  • 109
  • 1
  • 6
1
vote
1 answer

Regex DNS ANSWER SECTION into groups

I've been trying for a while to regex the fields from the ANSWERS SECTION in the unbound logs. This regex only extracts the last entry in the ANSWERS…
remis4
  • 35
  • 1
  • 5
1
vote
0 answers

Unbound (cachin dns resolver) not able to start in OEL 7 using systemd

I am trying to install and start unbound (caching dns resolver) using systemd but it failed with the error unbound[19112:0] warning: did not exit gracefully last time (17277) OS: Red Hat Enterprise Linux Server release 7.5 (Maipo) Kernel:…
James Sapam
  • 16,036
  • 12
  • 50
  • 73
0
votes
0 answers

How to enable my python module on Unbound?

I am programming a small python module for Unbound, nothing serious at all. https://framagit.org/22decembre/ipv6-dns-proxy The trouble is, I cannot manage to start unbound with it on the two environnements I can access : my openbsd server (I needed…
22decembre
  • 549
  • 4
  • 8
  • 17