# Final challenge: forwarding server, doubt regarding the resolver

**URL:** <https://forum.codecrafters.io/t/final-challenge-forwarding-server-doubt-regarding-the-resolver/4841>\
**Category:** General\
**Tags:** challenge:dns-server\
**Created:** [February 13, 2025, 12:13am UTC](https://forum.codecrafters.io/t/final-challenge-forwarding-server-doubt-regarding-the-resolver/4841 "2025-02-13T00:13:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tarun-verma](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/tarun-verma/32/2976_2.png) [@tarun-verma](https://forum.codecrafters.io/u/tarun-verma)\
**Post date:** [February 13, 2025, 12:13am UTC](https://forum.codecrafters.io/t/final-challenge-forwarding-server-doubt-regarding-the-resolver/4841/1 "2025-02-13T00:13:12Z")

</div>

I’m not sure I fully understand what’s being asked here. Do we run our own resolver on the specified IP and port received via the command line argument? Because when I tried to do so, I got “address already in use” error; from the `test` log, I can see this message:

[tester::#GT1] DNS resolver listening on 127.0.0.1:5354

So it ends up spawning a resolver by itself? If that’s the case, is our job essentially to just handle the query and response sanitization (per the conditions asked)?

---

<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:** [February 13, 2025, 1:56am UTC](https://forum.codecrafters.io/t/final-challenge-forwarding-server-doubt-regarding-the-resolver/4841/2 "2025-02-13T01:56:24Z")

</div>

> Do we run our own resolver on the specified IP and port received via the command line argument?

Hi @tarun-verma, you don’t need to run your own resolver. The tester provides one for you.

> is our job essentially to just handle the query and response sanitization (per the conditions asked)?

Yep, that’s correct! Let me know if you’d like further clarification.
