factory DnsRecord.fromJson(Map<String, dynamic> json) => DnsRecord( name: json["name"], type: decodeType(json["type"]), maxTTL: json["TTL"], data: json["data"], );