Export: Include created or changed files from /etc/dnsmasq.d/ and shell command


Please include the created or changed files from /etc/dnsmasq.d/ to the export feature.
Additionally a shell command for the export feature and a intigration in crontab for periodic backups would be desirable.
Please add a date and timecode to the name of the export file.

Thank you very much!


Yes, I agree on the date/time in the export filename.


Seems like a job for Pi-hole Teleporter… @DL6ER


Put this on my ToDo list!


All files found in /etc/dnsmasq.d are now included.

I added

pihole -a -t

which is the short form of

pihole admin teleporter

This command will create the ZIP file in the current working directory (make sure that this is where you want it when using cron!).

New files will have a name like pi-hole-teleporter_2017-03-05_14-11-44.zip.

Corresponding pull requests:



Thank you very much for time and effort! I really appreciate the additions and changes.

Thumbs up

When are the features available?


If all goes well, 3.0.


This has been implemented in 3.0.