.es is the country code top-level domain (ccTLD) for Spain. It is administered by the Network Information Centre of Spain.
Registrations are permitted at the second level or at the third level beneath various generic second level categories. Some qualifications and restrictions apply to third-level registrations depending on which second-level domain they are within. Second-level registrations have had some limitations including requiring registrants to have a connection with Spain, but these restrictions were lifted in a multi-stage process completed by the end of 2005, at which point registrations at the second level of .es were open to anybody worldwide.
The .es domain does not have a conventional WHOIS server operating on port 43, but WHOIS queries can be made using a page on ESNIC's website.