Above line is necessary for the the localhost name to resolve to IPv4 127.0.0.1. Dont change that one!
localhost
127.0.0.1
Below how is done for Pi-OS/Debian etc: