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
36
MinecraftClient/Protocol/Dns/Records/RecordMR.cs
Normal file
36
MinecraftClient/Protocol/Dns/Records/RecordMR.cs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
using System;
|
||||
/*
|
||||
3.3.8. MR RDATA format (EXPERIMENTAL)
|
||||
|
||||
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|
||||
/ NEWNAME /
|
||||
/ /
|
||||
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|
||||
|
||||
where:
|
||||
|
||||
NEWNAME A <domain-name> which specifies a mailbox which is the
|
||||
proper rename of the specified mailbox.
|
||||
|
||||
MR records cause no additional section processing. The main use for MR
|
||||
is as a forwarding entry for a user who has moved to a different
|
||||
mailbox.
|
||||
*/
|
||||
namespace Heijden.DNS
|
||||
{
|
||||
public class RecordMR : Record
|
||||
{
|
||||
public string NEWNAME;
|
||||
|
||||
public RecordMR(RecordReader rr)
|
||||
{
|
||||
NEWNAME = rr.ReadDomainName();
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return NEWNAME;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue