mirror of
https://github.com/reactos/reactos.git
synced 2024-12-05 09:23:32 +08:00
[IPCONFIG] Show data for MX and SRV DNS Entries
This commit is contained in:
parent
8c695b9437
commit
1abfdde2d4
@ -948,7 +948,10 @@ DisplayDnsRecord(
|
||||
break;
|
||||
|
||||
case DNS_TYPE_MX:
|
||||
ConResPrintf(StdOut, IDS_DNSTYPEMX);
|
||||
ConResPrintf(StdOut, IDS_DNSTYPEMX,
|
||||
pThisRecord->Data.MX.pNameExchange,
|
||||
pThisRecord->Data.MX.wPreference,
|
||||
pThisRecord->Data.MX.Pad);
|
||||
break;
|
||||
|
||||
case DNS_TYPE_AAAA:
|
||||
@ -962,10 +965,14 @@ DisplayDnsRecord(
|
||||
break;
|
||||
|
||||
case DNS_TYPE_SRV:
|
||||
ConResPrintf(StdOut, IDS_DNSTYPESRV);
|
||||
ConResPrintf(StdOut, IDS_DNSTYPESRV,
|
||||
pThisRecord->Data.SRV.pNameTarget,
|
||||
pThisRecord->Data.SRV.wPriority,
|
||||
pThisRecord->Data.SRV.wWeight,
|
||||
pThisRecord->Data.SRV.wPort);
|
||||
break;
|
||||
}
|
||||
_tprintf(_T("\n\n"));
|
||||
ConPuts(StdOut, L"\n\n");
|
||||
|
||||
pThisRecord = pNextRecord;
|
||||
}
|
||||
@ -994,10 +1001,10 @@ DisplayDns(VOID)
|
||||
{
|
||||
pNextEntry = pThisEntry->pNext;
|
||||
|
||||
if (pThisEntry->wType1 != 0)
|
||||
if (pThisEntry->wType1 != DNS_TYPE_ZERO)
|
||||
DisplayDnsRecord(pThisEntry->pszName, pThisEntry->wType1);
|
||||
|
||||
if (pThisEntry->wType2 != 0)
|
||||
if (pThisEntry->wType2 != DNS_TYPE_ZERO)
|
||||
DisplayDnsRecord(pThisEntry->pszName, pThisEntry->wType2);
|
||||
|
||||
if (pThisEntry->pszName)
|
||||
|
@ -72,10 +72,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA Record . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -74,10 +74,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME-Eintrag . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA-Eintrag . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR-Eintrag . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX-Eintrag. . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX-Eintrag. . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA-Eintrag. . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA-Eintrag. . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV-Eintrag . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV-Eintrag . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -72,10 +72,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA Record . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -72,10 +72,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA Record . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -73,10 +73,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA Record . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -74,10 +74,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA Record . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -72,10 +72,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA Record . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -72,10 +72,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA Record . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -72,10 +72,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA Record . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -74,10 +74,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA Record . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -72,10 +72,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA Record . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -73,10 +73,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME-запись . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA-запись . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR-запись . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX-запись . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX-запись . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA-запись . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA-запись . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV-запись . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV-запись . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -72,10 +72,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA Record . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -72,10 +72,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA Record . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -73,10 +73,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA Record . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -73,10 +73,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA Record . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -73,10 +73,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA Record . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -73,10 +73,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA Record . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
@ -73,10 +73,10 @@ BEGIN
|
||||
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
|
||||
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
|
||||
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : \n"
|
||||
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
|
||||
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"
|
||||
IDS_DNSTYPEATMA "\tATMA Record . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : \n"
|
||||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
|
Loading…
Reference in New Issue
Block a user