using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace skyscraper5.DNS.Protocol.ResourceRecords.Records
{
	internal class NSecResourceRecord : BaseResourceRecord
	{
		public NSecResourceRecord(IResourceRecord record, byte[] message, int dataOffset)
			: base(record)
		{
			NextDomainName = Domain.FromArray(Data, 0);
		}

		public Domain NextDomainName { get; }
	}
}
