Trouble with setting up unbound

icsy7867

Contributor
Joined
Dec 31, 2015
Messages
167
I am trying to setup unbound in a jail. Currently on Freenas 11.3

I have found some helpful resources:
https://www.truenas.com/community/threads/unbound-auto-start-in-a-jail.61082/#post-434172
https://blog.des.no/2018/10/dns-over-tls-in-freebsd-12/

and everything seems okay from within the Jail. I can ping a bunch of random entries, and I can add A name entries which allows the jail to ping them. However when I try to tell my windows VM to use the jail as a DNS server, I get not DNS resolutions. I am clearly doing something wrong but I cant figure it out.

Any advise?
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Are the 2 of them in the same subnet ? Can the Windows ping the Unbound jail ?

It may be an ACL in Unbound that refuses to answer to external requests. From 127.0.0.1, it accepts but refuses outside. Also, be sure that Unbound is listening on 0.0.0.0 or the explicit jail's IP and not listening only 127.0.0.1.
 

icsy7867

Contributor
Joined
Dec 31, 2015
Messages
167
Yes to the same subnet and I can ping the jail and vice versa.

Checking the interfaces is a great idea! I'll give that a shot.

I'm also seeing the version of unbound built in via local_unbound seems to be much older than the one found via pkg. If I have trouble further I may try to upgrade.
 
Top