summaryrefslogtreecommitdiff
path: root/test/regression/dns_test
diff options
context:
space:
mode:
authorFrédéric Desbiens <[email protected]>2026-06-08 10:03:52 +0200
committerGitHub <[email protected]>2026-06-08 10:03:52 +0200
commit1a0e9e43a03e37ddecfb6b49e9b078d6e1803d05 (patch)
treec60ec41b4ff4fd2d7566c505cbdd423ceddd65f3 /test/regression/dns_test
parent8b6e03ac30ab688bec02c69d42f2304b7f72a202 (diff)
parent4d88828b06d164a5b7e82152395a92254abcd6e4 (diff)
Merge pull request #391 from eclipse-threadx/devv6.5.1.202602_reldev
Merging changes for the v.6.5.1.202602 release
Diffstat (limited to 'test/regression/dns_test')
-rw-r--r--test/regression/dns_test/netx_dns_abnormal_packet_test.c11
-rw-r--r--test/regression/dns_test/netx_dns_coverage_test.c11
-rw-r--r--test/regression/dns_test/netx_dns_fake_response_test.c11
-rw-r--r--test/regression/dns_test/netx_dns_function_test.c11
-rw-r--r--test/regression/dns_test/netx_dns_invalid_name_unencode_test.c11
-rw-r--r--test/regression/dns_test/netx_dns_invalid_resource_get_test.c11
-rw-r--r--test/regression/dns_test/netx_dns_non_blocking_a_test.c11
-rw-r--r--test/regression/dns_test/netx_dns_nxe_api_test.c11
-rw-r--r--test/regression/dns_test/netx_dns_packet_double_release_test.c11
-rw-r--r--test/regression/dns_test/netx_dns_request_a_response_cname_a_smtp_live_com_test.c11
-rw-r--r--test/regression/dns_test/netx_dns_source_port_test.c11
-rw-r--r--test/regression/dns_test/response_a_berkley_edu.c11
-rw-r--r--test/regression/dns_test/response_a_cname_www_npr_org.c11
-rw-r--r--test/regression/dns_test/response_a_google_com.c11
-rw-r--r--test/regression/dns_test/response_aaaa_berkley_edu.c11
-rw-r--r--test/regression/dns_test/response_cname_mail_baidu_com.c11
-rw-r--r--test/regression/dns_test/response_mx_a_berkley_edu.c11
-rw-r--r--test/regression/dns_test/response_mx_a_google_com.c11
-rw-r--r--test/regression/dns_test/response_mx_google_com.c11
-rw-r--r--test/regression/dns_test/response_ns_a_ti_com.c11
-rw-r--r--test/regression/dns_test/response_soa_google_com.c11
-rw-r--r--test/regression/dns_test/response_srv_google_com.c11
-rw-r--r--test/regression/dns_test/response_txt_google_com.c11
-rw-r--r--test/regression/dns_test/response_with_invalid_resource.c11
24 files changed, 264 insertions, 0 deletions
diff --git a/test/regression/dns_test/netx_dns_abnormal_packet_test.c b/test/regression/dns_test/netx_dns_abnormal_packet_test.c
index ee26e472..2489199d 100644
--- a/test/regression/dns_test/netx_dns_abnormal_packet_test.c
+++ b/test/regression/dns_test/netx_dns_abnormal_packet_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This NetX test reading overflow when processing abnormal packet. */
/* Invalid name string */
diff --git a/test/regression/dns_test/netx_dns_coverage_test.c b/test/regression/dns_test/netx_dns_coverage_test.c
index 647dbb9c..a3c20c6a 100644
--- a/test/regression/dns_test/netx_dns_coverage_test.c
+++ b/test/regression/dns_test/netx_dns_coverage_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This NetX test concentrates on the basic UDP operation. */
diff --git a/test/regression/dns_test/netx_dns_fake_response_test.c b/test/regression/dns_test/netx_dns_fake_response_test.c
index d870b599..b48381f0 100644
--- a/test/regression/dns_test/netx_dns_fake_response_test.c
+++ b/test/regression/dns_test/netx_dns_fake_response_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This NetX test concentrates on the basic DNS operation. Fake response test. */
#include "tx_api.h"
diff --git a/test/regression/dns_test/netx_dns_function_test.c b/test/regression/dns_test/netx_dns_function_test.c
index a469f53c..28f912ff 100644
--- a/test/regression/dns_test/netx_dns_function_test.c
+++ b/test/regression/dns_test/netx_dns_function_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This NetX test concentrates on the basic UDP operation. */
diff --git a/test/regression/dns_test/netx_dns_invalid_name_unencode_test.c b/test/regression/dns_test/netx_dns_invalid_name_unencode_test.c
index 105dd11a..2b0a8e8d 100644
--- a/test/regression/dns_test/netx_dns_invalid_name_unencode_test.c
+++ b/test/regression/dns_test/netx_dns_invalid_name_unencode_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This NetX test concentrates on the basic DNS operation. Unencode invalid string. */
/* Frame (125 bytes) */
diff --git a/test/regression/dns_test/netx_dns_invalid_resource_get_test.c b/test/regression/dns_test/netx_dns_invalid_resource_get_test.c
index 3f2370d4..421fd535 100644
--- a/test/regression/dns_test/netx_dns_invalid_resource_get_test.c
+++ b/test/regression/dns_test/netx_dns_invalid_resource_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This NetX test concentrates on DNS operation with invalid resource in DNS response packet. */
diff --git a/test/regression/dns_test/netx_dns_non_blocking_a_test.c b/test/regression/dns_test/netx_dns_non_blocking_a_test.c
index cb26ed81..99a745d3 100644
--- a/test/regression/dns_test/netx_dns_non_blocking_a_test.c
+++ b/test/regression/dns_test/netx_dns_non_blocking_a_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This NetX test concentrates on the basic DNS operation. Non-blocking test. */
#include "tx_api.h"
diff --git a/test/regression/dns_test/netx_dns_nxe_api_test.c b/test/regression/dns_test/netx_dns_nxe_api_test.c
index 98cddb30..ba648f28 100644
--- a/test/regression/dns_test/netx_dns_nxe_api_test.c
+++ b/test/regression/dns_test/netx_dns_nxe_api_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* NetX DNS Client API error tests. */
#include "tx_api.h"
diff --git a/test/regression/dns_test/netx_dns_packet_double_release_test.c b/test/regression/dns_test/netx_dns_packet_double_release_test.c
index b6aabb25..e5844b75 100644
--- a/test/regression/dns_test/netx_dns_packet_double_release_test.c
+++ b/test/regression/dns_test/netx_dns_packet_double_release_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This NetX test concentrates on the basic DNS operation. Packet double release. */
#include "tx_api.h"
diff --git a/test/regression/dns_test/netx_dns_request_a_response_cname_a_smtp_live_com_test.c b/test/regression/dns_test/netx_dns_request_a_response_cname_a_smtp_live_com_test.c
index 15b8b05b..1b5d3b7a 100644
--- a/test/regression/dns_test/netx_dns_request_a_response_cname_a_smtp_live_com_test.c
+++ b/test/regression/dns_test/netx_dns_request_a_response_cname_a_smtp_live_com_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This NetX test concentrates on the basic DNS operation. Request: smtp.live.com A, Response: CNAME + A*/
/*
diff --git a/test/regression/dns_test/netx_dns_source_port_test.c b/test/regression/dns_test/netx_dns_source_port_test.c
index 17884081..1e733c77 100644
--- a/test/regression/dns_test/netx_dns_source_port_test.c
+++ b/test/regression/dns_test/netx_dns_source_port_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This NetX test concentrates on the basic DNS operation. Non-blocking test. */
#include "tx_api.h"
diff --git a/test/regression/dns_test/response_a_berkley_edu.c b/test/regression/dns_test/response_a_berkley_edu.c
index 5aad00bb..c9235abd 100644
--- a/test/regression/dns_test/response_a_berkley_edu.c
+++ b/test/regression/dns_test/response_a_berkley_edu.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/*
No. Time Source Destination Protocol Length Info
130 168.629156 192.2.2.1 192.2.2.240 DNS 88 Standard query response 0x0002 A 169.229.216.200
diff --git a/test/regression/dns_test/response_a_cname_www_npr_org.c b/test/regression/dns_test/response_a_cname_www_npr_org.c
index 25e09ea7..3773bf98 100644
--- a/test/regression/dns_test/response_a_cname_www_npr_org.c
+++ b/test/regression/dns_test/response_a_cname_www_npr_org.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/*
No. Time Source Destination Protocol Length Info
8 1.404839 192.2.2.1 192.2.2.66 DNS 119 Yes Standard query response 0x261c CNAME www.npr.cotcdb.net A 216.35.221.76
diff --git a/test/regression/dns_test/response_a_google_com.c b/test/regression/dns_test/response_a_google_com.c
index bfd547be..3c14ae81 100644
--- a/test/regression/dns_test/response_a_google_com.c
+++ b/test/regression/dns_test/response_a_google_com.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/*
No. Time Source Destination Protocol Length Info
54 82.002033 192.2.2.1 192.2.2.240 DNS 246 Standard query response 0x0002 A 74.125.224.194 A 74.125.224.195 A 74.125.224.196 A 74.125.224.197 A 74.125.224.198 A 74.125.224.199 A 74.125.224.200 A 74.125.224.201 A 74.125.224.206 A 74.125.224.192 A 74.125.224.193
diff --git a/test/regression/dns_test/response_aaaa_berkley_edu.c b/test/regression/dns_test/response_aaaa_berkley_edu.c
index 374a5dbc..6317da28 100644
--- a/test/regression/dns_test/response_aaaa_berkley_edu.c
+++ b/test/regression/dns_test/response_aaaa_berkley_edu.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/*
No. Time Source Destination Protocol Length Info
132 168.635407 192.2.2.1 192.2.2.240 DNS 100 Standard query response 0x0003 AAAA 2607:f140:0:81::f
diff --git a/test/regression/dns_test/response_cname_mail_baidu_com.c b/test/regression/dns_test/response_cname_mail_baidu_com.c
index 6b24affc..ddbf4a1f 100644
--- a/test/regression/dns_test/response_cname_mail_baidu_com.c
+++ b/test/regression/dns_test/response_cname_mail_baidu_com.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/*
No. Time Source Destination Protocol Length Info
165 19.285254000 192.168.0.1 192.168.0.105 DNS 100 Standard query response 0x0002 CNAME www.a.shifen.com
diff --git a/test/regression/dns_test/response_mx_a_berkley_edu.c b/test/regression/dns_test/response_mx_a_berkley_edu.c
index a514649a..398062d5 100644
--- a/test/regression/dns_test/response_mx_a_berkley_edu.c
+++ b/test/regression/dns_test/response_mx_a_berkley_edu.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/*
No. Time Source Destination Protocol Length Info
108 142.849657 192.2.2.1 192.2.2.240 DNS 107 Standard query response 0x0002 MX 10 mx.berkeley.edu
diff --git a/test/regression/dns_test/response_mx_a_google_com.c b/test/regression/dns_test/response_mx_a_google_com.c
index 67191ca5..c8f169ab 100644
--- a/test/regression/dns_test/response_mx_a_google_com.c
+++ b/test/regression/dns_test/response_mx_a_google_com.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/*
No. Time Source Destination Protocol Length Info
50 57.439998 192.2.2.1 192.2.2.240 DNS 258 Standard query response 0x0003 MX 20 alt1.aspmx.l.google.com MX 30 alt2.aspmx.l.google.com MX 40 alt3.aspmx.l.google.com MX 50 alt4.aspmx.l.google.com MX 10 aspmx.l.google.com
diff --git a/test/regression/dns_test/response_mx_google_com.c b/test/regression/dns_test/response_mx_google_com.c
index c1996ac6..6f81f569 100644
--- a/test/regression/dns_test/response_mx_google_com.c
+++ b/test/regression/dns_test/response_mx_google_com.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/*
No. Time Source Destination Protocol Length Info
42 2.441991000 192.168.0.1 192.168.0.105 DNS 178 Standard query response 0x0002 MX 40 alt3.aspmx.l.google.com MX 30 alt2.aspmx.l.google.com MX 10 aspmx.l.google.com MX 20 alt1.aspmx.l.google.com MX 50 alt4.aspmx.l.google.com
diff --git a/test/regression/dns_test/response_ns_a_ti_com.c b/test/regression/dns_test/response_ns_a_ti_com.c
index bef59036..1e495318 100644
--- a/test/regression/dns_test/response_ns_a_ti_com.c
+++ b/test/regression/dns_test/response_ns_a_ti_com.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/*
No. Time Source Destination Protocol Length Info
30 51.227025 192.2.2.1 192.2.2.240 DNS 349 Standard query response NS ns-d.pnap.net NS ns-b.pnap.net NS ns3.ti.com NS ns4.ti.com NS ns.ti.com NS ns2.ti.com NS ns-a.pnap.net NS ns-c.pnap.net
diff --git a/test/regression/dns_test/response_soa_google_com.c b/test/regression/dns_test/response_soa_google_com.c
index 0ef29260..30055a9a 100644
--- a/test/regression/dns_test/response_soa_google_com.c
+++ b/test/regression/dns_test/response_soa_google_com.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/*
No. Time Source Destination Protocol Length Info
18 4.207289000 192.168.0.1 192.168.0.105 DNS 120 Yes Standard query response 0x0002 SOA ns1.google.com
diff --git a/test/regression/dns_test/response_srv_google_com.c b/test/regression/dns_test/response_srv_google_com.c
index d7427f90..80bf7a35 100644
--- a/test/regression/dns_test/response_srv_google_com.c
+++ b/test/regression/dns_test/response_srv_google_com.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/*
No. Time Source Destination Protocol Length Info
10 2.964289000 192.168.0.1 192.168.0.105 DNS 293 Yes Standard query response 0x0002 SRV 5 0 5222 xmpp.l.google.com SRV 20 0 5222 alt3.xmpp.l.google.com SRV 20 0 5222 alt2.xmpp.l.google.com SRV 20 0 5222 alt4.xmpp.l.google.com SRV 20 0 5222 alt1.xmpp.l.google.com
diff --git a/test/regression/dns_test/response_txt_google_com.c b/test/regression/dns_test/response_txt_google_com.c
index f8386365..1b511ff0 100644
--- a/test/regression/dns_test/response_txt_google_com.c
+++ b/test/regression/dns_test/response_txt_google_com.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/*
No. Time Source Destination Protocol Length Info
237 10.385804000 192.168.0.1 192.168.0.105 DNS 164 Yes Standard query response 0x0002 TXT
diff --git a/test/regression/dns_test/response_with_invalid_resource.c b/test/regression/dns_test/response_with_invalid_resource.c
index e626fd08..cf89ec9f 100644
--- a/test/regression/dns_test/response_with_invalid_resource.c
+++ b/test/regression/dns_test/response_with_invalid_resource.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* A valid DNS response packet
00000000: 1c1a dfb0 2f0a 74b6 b640 932d 0800 4500 ..../[email protected].