Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 30 lines (22 sloc) 1.206 kb

What is da.gd?

da.gd is a collection of quick-info tools written in PHP. It allows you to use curl (or any http client) to quickly retrieve information from an easy-to-remember url.

What currently works?

Currently /ip and /ua work.

[ricky@rhelpad01 src]$ curl da.gd/ip
174.100.171.46
[ricky@rhelpad01 src]$ curl da.gd/ua
curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.12.9.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2

Update (8/1/2011): /w/google.com works now, and whoises google.com.

What is planned?

Eventually the following will work.

  • /up/google.com - return 'up' if google.com is up, or 'down' if it's not.
  • /i/google.com - return info about google.com (including up/down), such as the title of the page.
  • / - eventually da.gd itself will be a URL shortener.
  • /port/google.com/80 - check if port 80 is open on google.com - this will be limited if implemented.
  • /bl/127.0.0.1 - check to see if an IP is on a dnsbl. (Thanks for the idea @Ttech!)
  • /host/google.com - return the IP address of google.com.
  • /host/127.0.0.1 - return the hostname/reverse dns of 127.0.0.1.
  • Any other ideas you would like to see.
Something went wrong with that request. Please try again.