You have example.net assigned to both 127.0.0.1 and 1.2.3.4 - only the first IP found for a hostname applies.
What is 1.2.3.4 supposed to indicate?
The /etc/hosts file is used for requests originating from that server - it does not apply externally. (For that you need to configure DNS records on the nameservers.)
Last edited by boughtonp; 09-14-2020 at 07:33 AM.
|