Distributed feedback lasing in a metallic cavity