Bug 4199 - [libunbound] support for ECS
[libunbound] support for ECS
Status: NEW
Product: unbound
Classification: Unclassified
Component: server
Other All
: P5 enhancement
Assigned To: unbound team
Depends on:
  Show dependency treegraph
Reported: 2018-10-30 06:50 CET by Manu Bretelle
Modified: 2018-10-30 06:50 CET (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Manu Bretelle 2018-10-30 06:50:44 CET
I was playing with libunbound and it seems super trivial to get resolutions going by providing a standard unbound config.
Now it seems that the interface to resolution is limited to qtype/qname/qclass and therefore, it is not possible to apply EDNS options like ECS for instance, or for that matter any options (XPF could be a useful one).

I started looking around the code and I am not sure how easy it would be to add support for ECS within libunbound. Maybe by having some ways to inject the option through libworker_attach_mesh https://github.com/NLnetLabs/unbound/blob/master/libunbound/libworker.c#L665 

How feasible to you think that could be?