I am using google open DNS. How can I measure the speed of a DNS server?
If you just want to time the lookup of a single record, use
namebench is probably the tool you're looking. It does lookups based on domains are in your browser cache, random records from a list of popular records, etc. It is highly configureable to test your preferred list of DNS servers, your list of records, etc.