# Spotted a copy-paste typo in the dns-server-tester go.mod

**URL:** <https://forum.codecrafters.io/t/spotted-a-copy-paste-typo-in-the-dns-server-tester-go-mod/16056>\
**Category:** Bug Reports\
**Tags:** challenge:dns-server\
**Created:** [April 19, 2026, 10:28pm UTC](https://forum.codecrafters.io/t/spotted-a-copy-paste-typo-in-the-dns-server-tester-go-mod/16056 "2026-04-19T22:28:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhotrey](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/dhotrey/32/1633_2.png) [@dhotrey](https://forum.codecrafters.io/u/dhotrey)\
**Post date:** [April 19, 2026, 10:28pm UTC](https://forum.codecrafters.io/t/spotted-a-copy-paste-typo-in-the-dns-server-tester-go-mod/16056/1 "2026-04-19T22:28:57Z")

</div>

Hey team,

I was reading the source code for the DNS tester and noticed a naming collision.

It looks like a bit of copy-paste debt from the grep challenge, the `go.mod` for the DNS tester is currently identifying itself as the grep-tester [dns-server-tester/go.mod at e491a49873be71b5810e0e67525d16d6b3e1a5e1 · codecrafters-io/dns-server-tester · GitHub](https://github.com/codecrafters-io/dns-server-tester/blob/e491a49873be71b5810e0e67525d16d6b3e1a5e1/go.mod#L1)

This also flows into the internal imports and the Makefile.

I’ve raised a PR to tidy this up so it correctly identifies as `dns-server-tester`, which should help avoid naming collisions .

**PR Link:** [chore: fix incorrect module naming and internal paths by dhotrey · Pull Request #36 · codecrafters-io/dns-server-tester · GitHub](https://github.com/codecrafters-io/dns-server-tester/pull/36)

Also, I noticed that in the Makefiles for most of the testers, the `copy_course_file` directive points to `/repo/build-your-own-<x>/contents/course-definition.yml`, but in practice, in most repos, it has been moved to the root: `/repo/build-your-own-<x>/course-definition.yml`.

example from http-server-tester :

```auto
copy_course_file:
	hub api \
		repos/codecrafters-io/build-your-own-http-server/contents/course-definition.yml \
		| jq -r .content \
		| base64 -d \
		> internal/test_helpers/course_definition.yml

```

If you guys give me the go-ahead, I don’t mind fixing and raising a PR for this pattern across the other testers as well!

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [April 22, 2026, 3:32am UTC](https://forum.codecrafters.io/t/spotted-a-copy-paste-typo-in-the-dns-server-tester-go-mod/16056/4 "2026-04-22T03:32:14Z")

</div>

Hey @dhotrey, thanks for catching this, and for putting together the PR! I’ve merged it now.

Feel free to fix the same issue in the other tester repos, and just tag me to merge them. Looks like it affects [three other repos](https://github.com/search?q=org:codecrafters-io%20repos/codecrafters-io/build-your-own-grep/contents/course-definition.yml&type=code).

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [April 29, 2026, 3:32am UTC](https://forum.codecrafters.io/t/spotted-a-copy-paste-typo-in-the-dns-server-tester-go-mod/16056/6 "2026-04-29T03:32:33Z")

</div>

Closed on April 29, 2026, 3:32am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
