[Pdns-users] rec_control dump-cache not dumping to file

David opendak at shaw.ca
Tue Apr 24 20:02:28 UTC 2018


On 2018-04-24 1:37 PM, Eric Raymond wrote:
> Aloha,
> 
> I have found this to be not working in 4.1.X releases, and havent tried 
> in any other branch.
> Perhaps I am misunderstanding the command, but it appears to do nothing
> 
> # rec_control dump-cache /tmp/cache-dump
> dumped 1970 records
> 
> # ls -l /tmp/cache-dump
> ls: cannot access /tmp/cache-dump: No such file or directory

Do you have systemd doing private /tmp?

> 
> I verified that the file is non-existent before running, and still is 
> non-existent after.  Am I missing something?
> 
> Even the version flag doesnt seem to work
> 
> [eraymond at infdcpdns02:~] $ rec_control ---version
> syntax: rec_control [options] command, options as below:
>    .. output truncated
>    --version
>          Show the version of this program
> 
> In addition, 'rec_control help' can be used to retrieve a list
> of available commands from PowerDNS
> 
> I am running from the rpm repo with pdns-recursor-4.1.2-1pdns.el7.x86_64
> 
> Any help appreciated
> 
> Thanks
> Eric
> 
> 
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users
> 



More information about the Pdns-users mailing list