I have a Fedora 25 machine. Sometimes I misspell a hostname for SSH. Then I do ssh examle.com. For some reason, I then get connected to my machine (localhost) via SSH. I notice this because if there are SSH_ variables in the environment, my shell prompt shows that.
Right now at home, I get a clean hostname resolution error. What could be the cause of this on occasion? Some local DNS server just resolving everything it does not know to 127.0.0.1?