Why domain name resolution on Red Hat Enterprise Linux switches to TCP from UDP ?

Solution Verified - Updated -

Issue

  • Why domain name resolution on Red Hat Enterprise Linux switches to TCP from UDP ?
  • While executing a curl command and while the domain name resolution happens, packet capture shows the resolver switches to TCP from UDP. Refer packet number 4 in the below capture
1 0.000000       192.168.194.248       192.168.194.1         DNS      Standard query 0xbee6 A test.redhat.com
2 0.000035       192.168.194.248       192.168.194.1         DNS      Standard query 0x1d1d AAAA test.redhat.com
3 0.003247       192.168.194.1         192.168.194.248       DNS      Standard query response 0xbee6 A test.redhat.com CNAME 
4 0.000338       192.168.194.248       192.168.194.1         TCP      57154 → 53 [SYN] Seq=650790169 Win=29200 [TCP CHECKSUM INCORRECT] Len=0 MSS=1460 SACK_PERM=1 WS=128
5 0.005957       192.168.194.1         192.168.194.248       DNS      Standard query response 0x1d1d AAAA test.redhat.com CNAME 

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content