Why all *.dev domains target to my localhost?

后端 未结 2 557
遥遥无期
遥遥无期 2020-12-17 19:45

When you type *.dev domains, for example juas.dev it points to localhost, someone know why ?

(My hosts are not modified, and the request dont go outside)

2条回答
  •  佛祖请我去吃肉
    2020-12-17 20:42

    Do a lookup for a TXT record at that name and things will become clearer :-)

    .DEV is a recently registered top-level domain, and currently in an initial period where it's seeded with data meant to alert people using it privately that they're about to have a problem. Part of that is to return only the address 127.0.53.53, which is special enough to be obvious in log files and similar, but also in the 127.0.0.0/8 block that is defined as loopback for IPv4. Which is why you get your own machine. In a few months or so, you'll almost certainly start getting NXDOMAINs instead.

提交回复
热议问题