[Unbound-users] patch: rrset-roundrobin/minimal-responses
daisuke.higashi at gmail.com
Sat Apr 7 11:58:23 UTC 2012
This patch adds two features to Unbound-1.4.16.
rrset-roundrobin: yes|no (default: no)
If yes, Unbound rotates RRSet order in response.
This is almost same as Thijs Kinkhorst's implementation
except that random number source is query-id.
minimal-responses: yes|no (default: no)
If yes, Unbound doesn't insert authority/additional sections
into response message when those sections are not required .
This is similar to BIND9's minimal-responses
or Google Public DNS behavior.
Some points in favor:
- reduces size of response significantly. in addition to bandwidth
saving, it avoids TCP fallback all possible.
- improves performance slightly. 5-7% speed-up
at my Core 2 duo laptop.
 minimal-response process is activated when
RCODE is NOERROR and
QTYPE matches one of rrset type in answer section.
(i.e. the response is positive answer)
Daisuke HIGASHI <daisuke.higashi at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3650 bytes
Desc: not available
More information about the Unbound-users