Hacker News new | ask | show | jobs
by MarsIronPI 52 days ago
Technically you can set the HOSTALIASES variable to point to a custom hosts file, but that only works with programs that use gethostbyname(3). (Which is most of them? IDK.)