Skip to content

DNS

Domain Name System

"The Domain Name System (DNS) is a hierarchical decentralized naming system for computers, services, or any resource connected to the Internet or a private network."

Query system resolvers

MacOS

dscacheutil -q host -a name github.com

Tips

  • If you need a public address that resolves to localhost, you can use localtest.me
  • If you need a globally resolvable hostname that point to any arbitrary ip address, use nip.io