79726112

Date: 2025-08-05 12:36:46
Score: 2.5
Natty:
Report link

If you really don't want to rely on third-party APIs, you can get an IP address via DNS. It's not technically a web request, so I guess that counts.

It works by bypassing your local DNS resolver and querying external DNS servers directly: this way you can get your public IP address in a record.

Here's a demo. It's a bit verbose, but you'll get the idea.

Reasons:
  • Contains signature (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: stdStudent