Skip to content

Commit

Permalink
[IPCONFIG] Show data for SOA DNS Entry
Browse files Browse the repository at this point in the history
  • Loading branch information
EricKohl committed Jun 28, 2023
1 parent 5cb2b73 commit 7f55dd3
Show file tree
Hide file tree
Showing 21 changed files with 54 additions and 26 deletions.
10 changes: 9 additions & 1 deletion base/applications/network/ipconfig/ipconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/bg-BG.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/de-DE.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/el-GR.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/en-US.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/es-ES.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/fr-FR.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/id-ID.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/it-IT.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/no-NO.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/pl-PL.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/ro-RO.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/ru-RU.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/sk-SK.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/sq-AL.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/sv-SE.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/tr-TR.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/uk-UA.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/zh-CN.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion base/applications/network/ipconfig/lang/zh-TW.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
13 changes: 7 additions & 6 deletions base/applications/network/ipconfig/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7f55dd3

Please sign in to comment.