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

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

		public Domain NSDomainName { get; }
	}
}
