MohK
MohK

Reputation: 1933

Google public DNS query over UDP socket

Is google public DNS query can be done though UDP socket ?

I followed this https://gist.github.com/vkmc/5563997 but it stucks after sending query and no reply is coming.

I am using 8.8.8.8:53 UDP socket to request

enter image description here

Upvotes: 2

Views: 1212

Answers (1)

user3967089
user3967089

Reputation:

Responding on UDP port 53 is absolutely required for a DNS name server to work. Google's server definitely does so.

Upvotes: 1

Related Questions