Adding DNS entries to Pihole
Adding static DNS entries to Pihole can be accomplished by adding entries to the Pihole server’s hosts file /etc/hosts. For example: 192.168.1.100 pihole.yourdomain 192.168.1.100 blog.yourdomain 192.168.1.101 foo.yourdomain If you’ve deployed Pihole within a Kubernetes cluster then Kubernetes Hosts Aliases can be used to add static DNS entries to Pihole. hostAliases: - ip: "192.168.1.100" hostnames: - "pihole.yourdomain" - "blog.yourdomain" - ip: "192.168.1.101" hostnames: - "foo.yourdomain"