How to avoid fragmentation issues with DNS UDP query responses

Solution Verified - Updated -

Issue

  • When a DNS (which will use UDP, by default) query response is bigger than 512 bytes, the packet will be truncated and retransmitted using TCP (which may be not desirable or even allowed)
  • For small queries/replies, DNS uses UDP. When queries or replies get bigger than 512 bytes, then TCP is getting used.

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Bind name server
  • Identity Management (IdM) server, which has one component providing DNS services

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