/// <summary> /// Constructs a new instance of <see cref="DnsARecord"/>. /// </summary> /// <param name="name">Owner name</param> /// <param name="timeToLive">Record time to live (TTL)</param> /// <param name="ipAddress">IP address of the Host (A) record</param> public DnsARecord(string name, TimeSpan timeToLive, DnsIpAddress ipAddress) : this(zone : null, name, timeToLive, ipAddress) { }
/// <summary> /// Constructs a new instance of <see cref="DnsARecord"/>. /// </summary> /// <param name="zone">Associated zone</param> /// <param name="name">Owner name</param> /// <param name="timeToLive">Record time to live (TTL)</param> /// <param name="ipAddress">IP address of the Host (A) record</param> public DnsARecord(DnsZone zone, string name, TimeSpan timeToLive, DnsIpAddress ipAddress) : base(zone, name, DnsRecordTypes.A, DnsRecordClasses.IN, timeToLive) { IpAddress = ipAddress; }