Rename attribute type => dns_type