Skip to content

Instantly share code, notes, and snippets.

@synsa
Forked from tinogomes/DNS_TO_LOCALHOST.markdown
Created February 21, 2021 19:45
Show Gist options
  • Save synsa/04e250ac34705f60ab1d0c71d4a66dd2 to your computer and use it in GitHub Desktop.
Save synsa/04e250ac34705f60ab1d0c71d4a66dd2 to your computer and use it in GitHub Desktop.
Public DNS Pointing To localhost (127.0.0.1)

Available Wildcarded DNS Domains

It turns out that some kind hearted people already set up wildcarded domains for you already. You can use any domain below and/or any subdomain of these and they will always resolve back to 127.0.0.1 (your local machine). Here's the list of ones I know about. Let me know if there are more!

  • localhost - It will always works. Do you know why? I hope so.
  • [*.]fuf.me - Managed by @fidian; it will always point to localhost for IPv4 and IPv6
  • [*.]localtest.me
  • [*.]127-0-0-1.org.uk
  • [*.]vcap.me
  • [*.]yoogle.com
  • [*.]lvh.me
  • [*.]lacolhost.com
  • [*.]local.sisteminha.com - Managed by @tinogomes
  • domaincontrol.com
  • [*.]127.0.0.1.xip.io
  • See below comments for more domains

Of course, you can setup your own local domain.

sources:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment