Re: [vpp-dev] DNS Resolution over VCL

2022-11-03 Thread Florin Coras
Hi Anthony, Great! Will add the gethostbyname issue to my never shrinking todo list but, should you look into it, let me know if you manage to figure out how ldp interacts with gethostbyname. Regards, Florin > On Nov 3, 2022, at 4:54 AM, Anthony Fee wrote: > > Hi Florin, > > Thanks for th

Re: [vpp-dev] DNS Resolution over VCL

2022-11-03 Thread Anthony Fee
Hi Florin, Thanks for the feedback. I built a very basic application to trigger a TCP request, with gethostbyname() to resolve the hostname, using the VCL library directly. This worked as expected. Just to verify, I ran this also with LD_PRELOAD and I did see the gethostbyname() function stoppe

Re: [vpp-dev] DNS Resolution over VCL

2022-10-31 Thread Florin Coras
Hi Anthony, Assuming the host os has network connectivity beyond vpp for dns resolution, this is surprising. Would be good to understand if anything actually makes its way into ldp during a gethostbyname() call. Native integration with vcl, as opposed to ldp, should solve the problem but tha

Re: [vpp-dev] DNS Resolution over VCL

2022-10-31 Thread Anthony Fee
Hi Florin, Thank you for the reply, much appreciated. I assume that gethostbyname() uses something under the hood that LDP does intercept, otherwise it would continue to use the Linux implementation to resolve hostnames. From what I can see, right now LDP renders gethostbyname() unusable in the

Re: [vpp-dev] DNS Resolution over VCL

2022-10-28 Thread Florin Coras
Hi Anthony, LDP doesn’t currently intercept gethostbyname as integration with vpp's internal dns resolver is not yet done for vcl. Should you or anybody else be interested in implementing that, I’d be happy to offer support. Regards, Florin > On Oct 28, 2022, at 2:29 AM, Anthony Fee wrote:

Re: [vpp-dev] DNS Resolution over VCL

2022-10-28 Thread Anthony Fee
Hi all, I still haven't had any luck getting this working. Any ideas? Thanks in advance! Anthony -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22089): https://lists.fd.io/g/vpp-dev/message/22089 Mute This Topic: https://lists.fd.io/mt/94581374/21