Global
By default the extension is off. Then the old limit applies: a UDP response longer than 512 bytes is truncated.
The manual says directly what this risks: a truncated response may not deliver the whole route, and an incomplete route means delivery problems.
The line enables the extension and sets the maximum size. The value is from 512 to 2048 bytes; outside the range the engine silently adjusts it to the boundary.
And the vendor’s honest warning about the trade-off: a large packet is truncated less often but is more often blocked by a firewall and more often fragmented. The value is chosen for your network, not set to the maximum.
A separate caveat: the line does not affect the pmta resolve command — it has its own command-line option.
The other half is verification. The name resolution command does not use this line, so a successful check with it says nothing about what happens in delivery.
For major receivers with long MX lists this may be too little: the response is truncated, and the route is assembled incompletely. There is nothing to notice it with — the Hub has no monitoring of its own for name resolution.
What to set. The value is chosen for the network, not by the maximum:
| Value | When |
|---|---|
| do not write it | there are few domains and the responses are short — the old limit is enough |
| 1232 | a common compromise: fits into a regular frame without fragmentation |
| 2048 | the network is entirely yours, firewalls are configured, fragmentation is not a problem |
Verify not with the resolution command — it does not use this line — but by delivery behavior toward receivers with long responses.
# a compromise: fits into a regular frame and is not fragmented name-server 10.1.2.3 edns-udp-length 1232
what people get wrong and how it ends2 mistakes▶
§ 3.3.1.46
§ 3.3.1.46
2 relations
grep -n 'edns-udp-length\|name-server' /etc/pmta/config pmta resolve --edns gmail.com
3 articles
◇What the node tells about itself and through which channelsSeven observation surfaces: the web monitor, the console in four formats, the log, accounting, accounting search, metrics and export to external analytics.◇The watchdog that restarts the engineKeeps an eye on the engine and brings it back up after a crash by itself, sending a crash report to the postmaster address.◇How the policy for a receiver is assembledSettings are assembled from the most general pattern to the most precise; the order of blocks in the file means nothing.