docker-pihole-sync icon indicating copy to clipboard operation
docker-pihole-sync copied to clipboard

Sync /etc/hosts

Open y2kdread opened this issue 2 years ago • 1 comments

Hi -

Is there any way to be able to sync /etc/hosts? Some of my hosts don't show the names so I have to manually add them to the hosts file in order to be able to see them properly. It would be easier to manage if the hosts files was replicated between my pihole's.

y2kdread avatar Mar 16 '22 18:03 y2kdread

@y2kdread isn't it better to use the /etc/pihole/custom.list file for this?

disclaimer: I haven't tested this yet. I'm just checking this repo out, and it looks like the custom.list file is included in the rsync command.

egauthier avatar Mar 17 '22 21:03 egauthier