4 ms·
AFAIK the domain is controlled by the IANA, so it's probably not too big of a security risk. If you really want to be paranoid you can set the site to be 0.0.0.
by gruez 6y ago
AFAIK the domain is controlled by the IANA, so it's probably not too big of a security risk. If you really want to be paranoid you can set the site to be 0.0.0.0 or attacker.invalid.
- jefftk 6y agoattacker.invalid is good. So are <anything>.invalid, <anything>.test, or <anything>.example. They're all reserved and don't route.
- voxic11 6y agoMaybe on your system, but there is nothing in the standards which forbids them from being routable.
- gruez 6y agoBut by default they won't be routable. I guess you can shoot yourself in the foot and have entries in your /etc/hosts point to your attacker's site, but that's kind of hacking yourself.
- deleted 6y ago[deleted]
- morelisp 6y agoThe standard forbids (well, "should nots", which is the best you get most of the time) .invalid. from routing. It's supposed to be filtered at the nameserver API level and everything after that (cached DNS, authoritative DNS, registrar, etc.)
- marcan_42 6y ago0.0.0.0 is localhost, which is a great way to allow other software running on your computer to take the data and send it elsewhere. It's not a great IP address to use for "invalid". Yes, 0.0.0.0 really resolves to 127.0.0.1 on Linux at least. Try it.
- oefrha 6y agoNot saying 0.0.0.0 should be used in this case, but if you have data sniffing software listening on port 80 or 443 without your knowledge (or really any port at all, but especially a privileged port), you probably have much bigger things to worry about than some ad hoc PoC sending data there.
- gramakri 6y agoOr use .local
- cat199 6y ago.local is a bit problematic since there are RFC's explicitly stating this should only be resolved by multicast DNS which has its own security issues and also fallback lookup is somewhat undefined.