# I Got Stack on Dns Server GT1 stage

**URL:** <https://forum.codecrafters.io/t/i-got-stack-on-dns-server-gt1-stage/2933>\
**Category:** Challenges\
**Tags:** challenge:dns-server\
**Created:** [November 14, 2024, 4:42am UTC](https://forum.codecrafters.io/t/i-got-stack-on-dns-server-gt1-stage/2933 "2024-11-14T04:42:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kingsuk23](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/kingsuk23/32/2922_2.png) [@Kingsuk23](https://forum.codecrafters.io/u/Kingsuk23)\
**Post date:** [November 14, 2024, 4:42am UTC](https://forum.codecrafters.io/t/i-got-stack-on-dns-server-gt1-stage/2933/1 "2024-11-14T04:42:10Z")

</div>

[tester::#YC9] Sending Request: (Messages with \>\>\> prefix are part of this log)  
[tester::#YC9] \>\>\> ;; opcode: QUERY, status: NOERROR, id: 39632  
[tester::#YC9] \>\>\> ;; flags: rd; QUERY: 2, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0  
[tester::#YC9] \>\>\>  
[tester::#YC9] \>\>\> ;; QUESTION SECTION:  
[tester::#YC9] \>\>\> ;[abc.longassdomainname.com](http://abc.longassdomainname.com). IN A  
[tester::#YC9] \>\>\> ;[def.longassdomainname.com](http://def.longassdomainname.com). IN A  
[tester::#YC9] \>\>\>  
[your\_program] Received data from 127.0.0.1:33179  
[your\_program] {  
[your\_program] packetId: 39632,  
[your\_program] AA: 0,  
[your\_program] OPCODE: 0,  
[your\_program] QR: 0,  
[your\_program] TC: 0,  
[your\_program] RA: 0,  
[your\_program] RD: 1,  
[your\_program] Z: 0,  
[your\_program] RCODE: 0,  
[your\_program] QDCOUNT: 2,  
[your\_program] ANCOUNT: 0,  
[your\_program] NSCOUNT: 0,  
[your\_program] ARCOUNT: 0,  
[your\_program] }  
[your\_program] {  
[your\_program] packetId: 39632,  
[your\_program] AA: 0,  
[your\_program] OPCODE: 0,  
[your\_program] QR: 0,  
[your\_program] TC: 0,  
[your\_program] RA: 0,  
[your\_program] RD: 1,  
[your\_program] Z: 0,  
[your\_program] RCODE: 0,  
[your\_program] QDCOUNT: 2,  
[your\_program] ANCOUNT: 0,  
[your\_program] NSCOUNT: 0,  
[your\_program] ARCOUNT: 0,  
[your\_program] }  
[your\_program] Error sending data: undefined  
[tester::#YC9] DNS query failed: read udp 127.0.0.1:33179-\>127.0.0.1:2053: i/o timeout.  
[tester::#YC9] If you are seeing this after a while then it is likely that your server is not responding with appropriate id this error happen when multiple question apper

---

<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:** [November 14, 2024, 6:26am UTC](https://forum.codecrafters.io/t/i-got-stack-on-dns-server-gt1-stage/2933/2 "2024-11-14T06:26:17Z")

</div>

Could you [upload your code to GitHub](https://docs.codecrafters.io/features/publish-to-github) and share the link? It will be much easier to debug if I can run it directly.

---

<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:** [November 23, 2024, 2:33pm UTC](https://forum.codecrafters.io/t/i-got-stack-on-dns-server-gt1-stage/2933/3 "2024-11-23T14:33:20Z")

</div>

Closing this thread due to inactivity. If you still need assistance, feel free to reopen or start a new discussion!

---

<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:** [December 1, 2024, 4:24pm UTC](https://forum.codecrafters.io/t/i-got-stack-on-dns-server-gt1-stage/2933/4 "2024-12-01T16:24:48Z")

</div>

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