Query the database for some useful data
Run on externally accessible address