New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.dnsdist_history deposited in cwd #4562

Closed
xarlos opened this Issue Oct 12, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@xarlos

xarlos commented Oct 12, 2016

Hi there.

Just to mention that a .dnsdist_history file is created in the cwd when using the -c (client) connection. Doesn't really matter where you are. Seems to be a default.

cd /var/tmp # or anywhere
ls -a | grep .dnsdist_history
echo "dumpStats()" | /usr/bin/dnsdist -c
ls -a | grep .dnsdist_history
.dnsdist_history

Likely(?) around this point needs to be modified:
https://github.com/PowerDNS/pdns/blob/master/pdns/dnsdist-console.cc#L88

(dnsdist 1.0.0)
dnsdist-1.0.0-1.el7.x86_64
CentOS Linux release 7.2.1511 (Core)

Keep up the good work 👍

@rgacogne rgacogne added the dnsdist label Oct 12, 2016

pieterlexis added a commit to pieterlexis/pdns that referenced this issue Dec 16, 2016

@pieterlexis pieterlexis referenced this issue Dec 16, 2016

Merged

dnsdist: Save history to home-dir #4779

3 of 7 tasks complete

pieterlexis added a commit to pieterlexis/pdns that referenced this issue Dec 16, 2016

pieterlexis added a commit to pieterlexis/pdns that referenced this issue Dec 16, 2016

pieterlexis added a commit to pieterlexis/pdns that referenced this issue Dec 16, 2016

pieterlexis added a commit to pieterlexis/pdns that referenced this issue Dec 20, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment