mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Replace DnDns with HeijdenDns
HeijdenDns seems to do a better job at querying SRV records
This commit is contained in:
parent
a344ac4101
commit
693073edfc
112 changed files with 5491 additions and 5009 deletions
38
MinecraftClient/Protocol/Dns/Records/RecordTXT.cs
Normal file
38
MinecraftClient/Protocol/Dns/Records/RecordTXT.cs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
using System;
|
||||
|
||||
#region Rfc info
|
||||
/*
|
||||
3.3.14. TXT RDATA format
|
||||
|
||||
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|
||||
/ TXT-DATA /
|
||||
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|
||||
|
||||
where:
|
||||
|
||||
TXT-DATA One or more <character-string>s.
|
||||
|
||||
TXT RRs are used to hold descriptive text. The semantics of the text
|
||||
depends on the domain where it is found.
|
||||
*
|
||||
*/
|
||||
#endregion
|
||||
|
||||
namespace Heijden.DNS
|
||||
{
|
||||
public class RecordTXT : Record
|
||||
{
|
||||
public string TXT;
|
||||
|
||||
public RecordTXT(RecordReader rr)
|
||||
{
|
||||
TXT = rr.ReadString();
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Format("\"{0}\"",TXT);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue