DUB stands for Dublin Airport, while SAN stands for San Diego Airport. These codes are often called IATA codes, a set of identifiers established by IATA (International Air Transport Association) that is widely used by airlines and the aviation industry.