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

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

		public Domain Dname { get; private set; }
	}
}
