有一些公共DNS服务器可以动态创建dns记录,例如解析为127.0.0.1的127.0.0.1.something.com,我在Google上搜索了很多但我无法找到它。有什么想法吗?
答案 0 :(得分:0)
127.0.0.1是环回地址,它就像localhost,总是你的电脑,但不在dns服务器中。
如果您希望自己的电脑可通过互联网访问而且无需支付dns地址,请使用dyndns或no-ip
这个网站最好的部分是,如果你有一个动态IP,他们总是指向你的电脑
答案 1 :(得分:0)
您在谈论http://xip.io/
What is xip.io?
xip.io is a magic domain name that provides wildcard DNS
for any IP address. Say your LAN IP address is 10.0.0.1.
Using xip.io,
10.0.0.1.xip.io resolves to 10.0.0.1
www.10.0.0.1.xip.io resolves to 10.0.0.1
mysite.10.0.0.1.xip.io resolves to 10.0.0.1
foo.bar.10.0.0.1.xip.io resolves to 10.0.0.1
...and so on. You can use these domains to access virtual
hosts on your development web server from devices on your
local network, like iPads, iPhones, and other computers.
No configuration required!
How does it work?
xip.io runs a custom DNS server on the public Internet.
When your computer looks up a xip.io domain, the xip.io
DNS server extracts the IP address from the domain and
sends it back in the response.