mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
36 lines
1002 B
C#
36 lines
1002 B
C#
using System.Net;
|
|
|
|
namespace DnsClient.Protocol
|
|
{
|
|
/*
|
|
3.4.1. A RDATA format
|
|
|
|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|
|
| ADDRESS |
|
|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|
|
|
|
where:
|
|
|
|
ADDRESS A 32 bit Internet address.
|
|
|
|
Hosts that have multiple Internet addresses will have multiple A
|
|
records.
|
|
*
|
|
*/
|
|
|
|
/// <summary>
|
|
/// A <see cref="DnsResourceRecord"/> represending an IPv4 <see cref="IPAddress"/>.
|
|
/// Hosts that have multiple Internet addresses will have multiple A records.
|
|
/// </summary>
|
|
/// <seealso href="https://tools.ietf.org/html/rfc1035">RFC 1035</seealso>
|
|
public class ARecord : AddressRecord
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ARecord"/> class.
|
|
/// </summary>
|
|
/// <inheritdoc />
|
|
public ARecord(ResourceRecordInfo info, IPAddress address) : base(info, address)
|
|
{
|
|
}
|
|
}
|
|
} |