Bug 4199

Summary: [libunbound] support for ECS
Product: unbound Reporter: Manu Bretelle <chantr4>
Component: serverAssignee: unbound team <unbound-team>
Status: NEW ---    
Severity: enhancement CC: cathya
Priority: P5    
Version: unspecified   
Hardware: Other   
OS: All   

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?