DnsQuestion Class
Represents a DNS question in a query or response message.
public sealed class DnsQuestionConstructors
| Name | Description |
|---|---|
| DnsQuestion(string, DnsQueryType, DnsQueryClass) | Initializes a new instance of the DnsQuestion class. |
DnsQuestion(string, DnsQueryType, DnsQueryClass)
DnsQuestion.csInitializes a new instance of the DnsQuestion class.
public DnsQuestion(string name, DnsQueryType type, DnsQueryClass queryClass = DnsQueryClass.IN)Parameters
namestringtypeDnsQueryTypequeryClassDnsQueryClass
Properties
| Name | Description |
|---|---|
| Name | Gets or sets the domain name being queried. |
| QueryClass | Gets or sets the query class. |
| Type | Gets or sets the DNS record type. |