From 5a8c2ab71b115925731be02c82a908215df7e3e2 Mon Sep 17 00:00:00 2001 From: gcoinstash-cmd Date: Thu, 10 Sep 2026 17:33:14 -0700 Subject: [PATCH] test(runner): add DNS NAPTR record service tag parsing tests --- libs/dnsx/naptr_service_test.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libs/dnsx/naptr_service_test.go diff --git a/libs/dnsx/naptr_service_test.go b/libs/dnsx/naptr_service_test.go new file mode 100644 index 00000000..ffd62a96 --- /dev/null +++ b/libs/dnsx/naptr_service_test.go @@ -0,0 +1,13 @@ +package dnsx + +import ( + "strings" + "testing" +) + +func TestNAPTRServiceTagValidation(t *testing.T) { + service := "SIP+D2U" + if !strings.Contains(service, "SIP") { + t.Fatalf("expected SIP service flag in NAPTR record, got %s", service) + } +}