3 ms·
How deep in the domain hierarchy you are doesn't matter from a network layer: a bare tld (yes this exists), a normal domain, a subdomain, a sub-subdomain, etc c
by parliament32 2y ago
How deep in the domain hierarchy you are doesn't matter from a network layer: a bare tld (yes this exists), a normal domain, a subdomain, a sub-subdomain, etc can all be assigned different IPs and go different places. You can issue a GET against / for any IP you want (like we see in the logs OP posted). The only time this would actually matter is if a host at an address is serving content for multiple hostnames and depends on the Host header to figure out which one to serve -- but even those will almost always have a default.
- andix 2y agoYou can discover IP adresses, sure. Just enumerate them. But this doesn't give you the domain, as long as there is no reverse dns record. I'm quite sure OP meant a virtual host only reachable with the correct Host: header.