Firefox bookmark for doing dns lookups

I do a lot of DNS lookups using 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 dns
Lookup A-record for dns A
Lookup MX-record for dns 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”).