Yeah, I ended up just writing a simple CLI script, for what I need in my lab it works perfectly ;)
Gary On Thu, Sep 27, 2018 at 10:21 AM Petr Mensik via Unbound-users < [email protected]> wrote: > 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): > > 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 > > > > -- > Petr Menšík > Software Engineer > Red Hat, http://www.redhat.com/ > email: [email protected] PGP: 65C6C973 >
