Well first I need to describe my actual config:
I have installed pihole on a docker ( MacVLAN to use port 80; I use 192.168.1.3 as IP for this docker) that works very well for all the LAN and all PC and devices.
I configure pihole not only as a DNS Server, I configure as DHCP server too.
My NAS have IP 192.168.1.4 255.255.255.0 and use as DNS Server 126.96.36.199 (configured in OMV WebGUI), this is because if use 192.168.1.3 that is the IP of my pihole DNS Server I have some errors on OMV boot (probably due OMV need to resolve DNS and docker still is not ready).
I want to add 192.168.1.3 pi.hole to /etc/hosts but file says:
So my question is:
how to add line 192.168.1.3 pi.hole so my NAS (PDNS) know to resolve pihole address without lose on reboots / updates?.