Loopback addresses
IPv4 127.0.0.0/8 and IPv6 ::1 refer to the local host rather than a remote internet service.
Practical example
Use 127.0.0.1 to test a local service. If it works locally but not remotely, check binding and firewall settings rather than assuming DNS is at fault.
Try the related tool โ