Dogs lined up in San Francisco to receive free vaccines Monday to combat an outbreak of a highly contagious illness that can be fatal for some canines.