[IPCONFIG] Show data for SOA DNS Entry

This commit is contained in:
Eric Kohl 2023-06-28 22:16:25 +02:00
parent 5cb2b73988
commit 7f55dd36ea
21 changed files with 54 additions and 26 deletions

View File

@ -940,7 +940,15 @@ DisplayDnsRecord(
break;
case DNS_TYPE_SOA:
ConResPrintf(StdOut, IDS_DNSTYPESOA);
ConResPrintf(StdOut, IDS_DNSTYPESOA1,
pThisRecord->Data.SOA.pNamePrimaryServer,
pThisRecord->Data.SOA.pNameAdministrator,
pThisRecord->Data.SOA.dwSerialNo);
ConResPrintf(StdOut, IDS_DNSTYPESOA2,
pThisRecord->Data.SOA.dwRefresh,
pThisRecord->Data.SOA.dwRetry,
pThisRecord->Data.SOA.dwExpire,
pThisRecord->Data.SOA.dwDefaultTtl);
break;
case DNS_TYPE_PTR:

View File

@ -70,7 +70,8 @@ BEGIN
IDS_DNSTYPEA "\tA (Host) Record . . . : %ls\n"
IDS_DNSTYPENS "\tNS Record . . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
IDS_DNSTYPESOA1 "\tSOA Record. . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"

View File

@ -72,7 +72,8 @@ BEGIN
IDS_DNSTYPEA "\t(Host-)A-Eintrag. . . : %ls\n"
IDS_DNSTYPENS "\tNS-Eintrag. . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tCNAME-Eintrag . . . . : %ls\n"
IDS_DNSTYPESOA "\tSOA-Eintrag . . . . . : \n"
IDS_DNSTYPESOA1 "\tSOA-Eintrag . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tPTR-Eintrag . . . . . : %ls\n"
IDS_DNSTYPEMX "\tMX-Eintrag. . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tAAAA-Eintrag. . . . . : %ls\n"

View File

@ -70,7 +70,8 @@ BEGIN
IDS_DNSTYPEA "\tA (Host) Record . . . : %ls\n"
IDS_DNSTYPENS "\tNS Record . . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
IDS_DNSTYPESOA1 "\tSOA Record. . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"

View File

@ -70,7 +70,8 @@ BEGIN
IDS_DNSTYPEA "\tA (Host) Record . . . : %ls\n"
IDS_DNSTYPENS "\tNS Record . . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
IDS_DNSTYPESOA1 "\tSOA Record. . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"

View File

@ -71,7 +71,8 @@ BEGIN
IDS_DNSTYPEA "\tA (Host) Record . . . : %ls\n"
IDS_DNSTYPENS "\tNS Record . . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
IDS_DNSTYPESOA1 "\tSOA Record. . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"

View File

@ -72,7 +72,8 @@ BEGIN
IDS_DNSTYPEA "\tA (Host) Record . . . : %ls\n"
IDS_DNSTYPENS "\tNS Record . . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
IDS_DNSTYPESOA1 "\tSOA Record. . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"

View File

@ -70,7 +70,8 @@ BEGIN
IDS_DNSTYPEA "\tA (Host) Record . . . : %ls\n"
IDS_DNSTYPENS "\tNS Record . . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
IDS_DNSTYPESOA1 "\tSOA Record. . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"

View File

@ -70,7 +70,8 @@ BEGIN
IDS_DNSTYPEA "\tA (Host) Record . . . : %ls\n"
IDS_DNSTYPENS "\tNS Record . . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
IDS_DNSTYPESOA1 "\tSOA Record. . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"

View File

@ -70,7 +70,8 @@ BEGIN
IDS_DNSTYPEA "\tA (Host) Record . . . : %ls\n"
IDS_DNSTYPENS "\tNS Record . . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
IDS_DNSTYPESOA1 "\tSOA Record. . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"

View File

@ -73,7 +73,8 @@ BEGIN
IDS_DNSTYPEA "\tRekord (hosta) A. . . : %ls\n"
IDS_DNSTYPENS "\tRekord NS . . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tRekord CNAME. . . . . : %ls\n"
IDS_DNSTYPESOA "\tRekord SOA. . . . . . : \n"
IDS_DNSTYPESOA1 "\tRekord SOA. . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tRekord PTR. . . . . . : %ls\n"
IDS_DNSTYPEMX "\tRekord MX . . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tRekord AAAA . . . . . : %ls\n"

View File

@ -71,7 +71,8 @@ BEGIN
IDS_DNSTYPEA "\tÎnregistrarea (gazdei) A: %ls\n"
IDS_DNSTYPENS "\tÎnregistrarea NS. . . . : %ls\n"
IDS_DNSTYPECNAME "\tÎnregistrarea CNAME . . : %ls\n"
IDS_DNSTYPESOA "\tÎnregistrarea SOA . . . : \n"
IDS_DNSTYPESOA1 "\tÎnregistrarea SOA . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tÎnregistrarea PTR . . . : %ls\n"
IDS_DNSTYPEMX "\tÎnregistrarea MX. . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tÎnregistrarea AAAA. . . : %ls\n"

View File

@ -71,7 +71,8 @@ BEGIN
IDS_DNSTYPEA "\tА-запись (узла) . . . : %ls\n"
IDS_DNSTYPENS "\tNS-запись . . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tCNAME-запись . . . . : %ls\n"
IDS_DNSTYPESOA "\tSOA-запись . . . . . : \n"
IDS_DNSTYPESOA1 "\tSOA-запись . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tPTR-запись . . . . . : %ls\n"
IDS_DNSTYPEMX "\tMX-запись . . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tAAAA-запись . . . . . : %ls\n"

View File

@ -70,7 +70,8 @@ BEGIN
IDS_DNSTYPEA "\tA (Host) Record . . . : %ls\n"
IDS_DNSTYPENS "\tNS Record . . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
IDS_DNSTYPESOA1 "\tSOA Record. . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"

View File

@ -70,7 +70,8 @@ BEGIN
IDS_DNSTYPEA "\tA (Host) Record . . . : %ls\n"
IDS_DNSTYPENS "\tNS Record . . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
IDS_DNSTYPESOA1 "\tSOA Record. . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"

View File

@ -71,7 +71,8 @@ BEGIN
IDS_DNSTYPEA "\tA (Host) Record . . . : %ls\n"
IDS_DNSTYPENS "\tNS Record . . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
IDS_DNSTYPESOA1 "\tSOA Record. . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"

View File

@ -71,7 +71,8 @@ BEGIN
IDS_DNSTYPEA "\tA (Host) Record . . . : %ls\n"
IDS_DNSTYPENS "\tNS Record . . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
IDS_DNSTYPESOA1 "\tSOA Record. . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"

View File

@ -71,7 +71,8 @@ BEGIN
IDS_DNSTYPEA "\tA (Host) Record . . . : %ls\n"
IDS_DNSTYPENS "\tNS Record . . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
IDS_DNSTYPESOA1 "\tSOA Record. . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"

View File

@ -71,7 +71,8 @@ BEGIN
IDS_DNSTYPEA "\tA (Host) Record . . . : %ls\n"
IDS_DNSTYPENS "\tNS Record . . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
IDS_DNSTYPESOA1 "\tSOA Record. . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"

View File

@ -71,7 +71,8 @@ BEGIN
IDS_DNSTYPEA "\tA (Host) Record . . . : %ls\n"
IDS_DNSTYPENS "\tNS Record . . . . . . : %ls\n"
IDS_DNSTYPECNAME "\tCNAME Record. . . . . : %ls\n"
IDS_DNSTYPESOA "\tSOA Record. . . . . . : \n"
IDS_DNSTYPESOA1 "\tSOA Record. . . . . . : %ls\n\t %ls\n\t %lu\n"
IDS_DNSTYPESOA2 "\t %lu\n\t %lu\n\t %lu\n\t %lu\n"
IDS_DNSTYPEPTR "\tPTR Record. . . . . . : %ls\n"
IDS_DNSTYPEMX "\tMX Record . . . . . . : %ls\n\t %hu\n\t %hu\n"
IDS_DNSTYPEAAAA "\tAAAA Record . . . . . : %ls\n"

View File

@ -57,11 +57,12 @@
#define IDS_DNSTYPEA 170
#define IDS_DNSTYPENS 171
#define IDS_DNSTYPECNAME 172
#define IDS_DNSTYPESOA 173
#define IDS_DNSTYPEPTR 174
#define IDS_DNSTYPEMX 175
#define IDS_DNSTYPEAAAA 176
#define IDS_DNSTYPEATMA 177
#define IDS_DNSTYPESRV 178
#define IDS_DNSTYPESOA1 173
#define IDS_DNSTYPESOA2 174
#define IDS_DNSTYPEPTR 175
#define IDS_DNSTYPEMX 176
#define IDS_DNSTYPEAAAA 177
#define IDS_DNSTYPEATMA 178
#define IDS_DNSTYPESRV 179
#define IDS_USAGE 180