DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th July 2015
daemonbak daemonbak is offline
Fdisk Soldier
 
Join Date: Feb 2015
Posts: 51
Default Unbound Database

I am running DNSCrypt-Proxy on openbsd latest. I am also running unbound as the caching dns service. I was expecting every DNS lookup to be stored in the unbound database so that there wouldn't need to be a lookup performed everytime if that domain had already been resolved. However, looking in /var/unbound/db/ shows that there are no files.

Is there somewhere else i should look or do i need to instruct it to retain previous resolves. Or is this frowned upon for security?
I was expecting o see a readout similar to dhcp.leases

Thanks
Reply With Quote
  #2   (View Single Post)  
Old 21st July 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Unbound is a caching DNS resolver. Cache is stored in memory, not on disk. The default cache size is 4 MB, with messages (resolutions) expiring after 1 day. You can change these settings and other defaults in unbound.conf(5).

The /var/unbound/db directory stores applicable key files, such as root.key.
Reply With Quote
  #3   (View Single Post)  
Old 21st July 2015
daemonbak daemonbak is offline
Fdisk Soldier
 
Join Date: Feb 2015
Posts: 51
Default

Thanks as always
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unbound Troubleshoot Peter_APIIT OpenBSD General 13 26th June 2015 02:00 AM
directing DNS queries to local unbound? 22decembre OpenBSD Security 16 28th December 2014 04:52 AM
DNSCrypt and local Unbound resolver Oko OpenBSD Security 1 28th December 2014 12:54 AM
Unbound reverse-ptr stub-zone woes cmacrae OpenBSD General 0 9th August 2014 05:57 PM
unbound reverse lookup private zone Oko General software and network 2 20th November 2013 03:15 PM


All times are GMT. The time now is 07:35 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick