vim /etc/pihole/my_custom_routes.list
Add something like ipaddress fqdn hostname
, e.g.:
192.168.1.4 server2.vesync.com server2
Then add that file to the list of additional host lists:
sudo vim /etc/dnsmasq.d/01-pihole.conf
addn-hosts=/etc/piholoe/my_custom_routes.list
Then restart dns: sudo pihole restartdns