Search This Blog

Friday, September 14, 2018

By default DNS server will serve all client queries with UDP protocol on 53 port.

One reason for this selection of protocol is to get faster answers from DNS Server to the client. The UDP protocol do not require any handshake like TCP before the connection establishment.

Forcing dig to use tcp connection by using +tcp option as shown below.
$ dig +tcp