N00b Unbound Question

Hi Guys,

I am completely new to Unbound DNS, I have it setup and working for forward / reverse lookups for my internal labs, however what I would like is to be able to use unbound-control (or something) add forward / reverse lookups and then have those comitted to the unbound.conf.

Basically, everytime i want to add a record / ptr i don’t want to have to edit the unbound.conf
file and add-them manually, i can add forward records with unbound-control (it seems not ptr though) – but these are in memory and not reloaded if i restart the server / the machine goes down ?

Is there another tool that i can use to simply add these records (either from the shell of the host or remotely)?

Cheers

Gary

Hi Gary,

If you want to add these records permanently, you have to add it into
configuration. unbound-control is only to make changes not permanent. If
that is not what you want, I would suggest include autogenerated
configuration file in /etc/unbound/conf.d/something.conf and reloading
unbound. Modify data in that config file using any tools of choosing.

Dne 22.9.2018 v 10:13 Gary Day via Unbound-users napsal(a):

Yeah, I ended up just writing a simple CLI script, for what I need in my lab it works perfectly :wink:

Gary