[GH-ISSUE #10] is this DNS application response TCP request? #1

Closed
opened 2026-03-14 20:17:24 +03:00 by kerem · 6 comments
Owner

Originally created by @linkec on GitHub (Jul 16, 2018).
Original GitHub issue: https://github.com/appserver-io/dnsserver/issues/10

Hi
same as title,is this DNS application response TCP request?
and if not, any tutorial or document of TCP response
Thanks.

Originally created by @linkec on GitHub (Jul 16, 2018). Original GitHub issue: https://github.com/appserver-io/dnsserver/issues/10 Hi same as title,is this DNS application response TCP request? and if not, any tutorial or document of TCP response Thanks.
kerem closed this issue 2026-03-14 20:17:30 +03:00
Author
Owner

@wagnert commented on GitHub (Jul 16, 2018):

Hi, this is a usual DNS server that'll also respond TCP requests.

<!-- gh-comment-id:405341779 --> @wagnert commented on GitHub (Jul 16, 2018): Hi, this is a usual DNS server that'll also respond TCP requests.
Author
Owner

@linkec commented on GitHub (Jul 16, 2018):

I have already do some tries on my code, but still have some problem.
I am not sure what the special of TCP response and UDP response.
I just added the packet size before the packet and that's it.
But the test on http://dnscheck.pingdom.com/ seems not good.

<!-- gh-comment-id:405354158 --> @linkec commented on GitHub (Jul 16, 2018): I have already do some tries on my code, but still have some problem. I am not sure what the special of TCP response and UDP response. I just added the packet size before the packet and that's it. But the test on http://dnscheck.pingdom.com/ seems not good.
Author
Owner

@wick-ed commented on GitHub (Jul 16, 2018):

Hi @linkec

how is your setup exactly? Are you trying to reach a site you host from the internet using appserver DNS server?
That wont work as no outside service will ask appserver for name resolution without being explicitly configured to do so.
Our DNS server is more intended for local development so you do not have to tamper with your /etc/hosts or install dnsmasq separatly

<!-- gh-comment-id:405356068 --> @wick-ed commented on GitHub (Jul 16, 2018): Hi @linkec how is your setup exactly? Are you trying to reach a site you host from the internet using appserver DNS server? That wont work as no outside service will ask appserver for name resolution without being explicitly configured to do so. Our DNS server is more intended for local development so you do not have to tamper with your /etc/hosts or install dnsmasq separatly
Author
Owner

@linkec commented on GitHub (Jul 16, 2018):

I am trying to write a new authorized DNS backend for my CDN service. I have already implement EDNS on it and basic functions are running normal. But one wired thing was happens.
Some clients set them dns as 1.1.1.1, but response nothing. but for 8.8.8.8, they do response.
So I am looking for why was it happened. I am not sure about did I really implement TCP.
I tried use "dig +tcp" to have a test, it is works fine.
So I am search for some information about this, and I see your github.

<!-- gh-comment-id:405358748 --> @linkec commented on GitHub (Jul 16, 2018): I am trying to write a new authorized DNS backend for my CDN service. I have already implement EDNS on it and basic functions are running normal. But one wired thing was happens. Some clients set them dns as 1.1.1.1, but response nothing. but for 8.8.8.8, they do response. So I am looking for why was it happened. I am not sure about did I really implement TCP. I tried use "dig +tcp" to have a test, it is works fine. So I am search for some information about this, and I see your github.
Author
Owner

@linkec commented on GitHub (Jul 16, 2018):

@wick-ed @wagnert

<!-- gh-comment-id:405358937 --> @linkec commented on GitHub (Jul 16, 2018): @wick-ed @wagnert
Author
Owner

@wick-ed commented on GitHub (Jul 16, 2018):

Sorry but I am totally not getting what your setup is.
Please answer:

Are you using appserver DNS?
Why do you think 1.1.1.1 or 8.8.8.8 should work with your setup (that does not require appserver)?
Where are the clients, on the internet or on your local machine?

<!-- gh-comment-id:405366894 --> @wick-ed commented on GitHub (Jul 16, 2018): Sorry but I am totally not getting what your setup is. Please answer: Are you using appserver DNS? Why do you think 1.1.1.1 or 8.8.8.8 should work with your setup (that does not require appserver)? Where are the clients, on the internet or on your local machine?
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dnsserver#1
No description provided.