Tools and toys

Airports in DNS

A three-letter airport code doubled as a DNS name for airport details, coordinates and maps.

airportsIATALOCTXT recordsmaps

Date updated:

Jan-Piet Mens wanted airport data for a training exercise. In 2020 he took the public OurAirports dataset and gave each airport with an IATA code its own DNS name.

For Barcelona, his example uses BCN.air.jpmens.net. A TXT lookup gave the airport's name, city and country. A LOC lookup gave its coordinates. URI records linked to a map and, where available, a Wikipedia page. Mens also published the zone data for self-hosting.

The Barcelona name returned a TXT answer on 27 November 2026.

Search exhibits

Use Up, Down, or Tab to choose a result, then press Enter to open it.