Firefox bookmark for doing dns lookups


I do a lot of DNS lookups using dnsstuff.com and finally got around to doing a bookmark for it to make it easier to use. The bookmark makes it possible for me simply to write “dns <hostname> <record-type>” in the address bar of Firefox to do the lookup instead of having to go to the site, locate the field, input the domain name and click the submit button. The bookmark automatically does a lookup for an A-record if no record-type is specified as the second parameter:

Lookup A-record for http://www.example.com dns http://www.example.com
Lookup A-record for http://www.example.com dns http://www.example.com A
Lookup MX-record for example.com dns example.com MX

To add the bookmark to Firefox right-click the following link and add select “Bookmark This Link…”. Once that is done you need to edit the bookmark (right-click it in the bookmark bar and select “Properties”) and add a Keyword (I use “dns”).