Code Monkey home page Code Monkey logo

Comments (5)

fmartinsons avatar fmartinsons commented on July 18, 2024 1

You haven't really answered the question in my previous comment.

Sorry, I may have misunderstood but I don't see what kind of library you want to know, in this context, I thought it was the async runtime.
For the second part, it seems you suggest to look at using a custom RuntimeProvider and by the look at the link you provided, the socket is exposed there.

I'll give it a try and come back here if I manage to come up with something working.

Thanks

from trust-dns.

fmartinsons avatar fmartinsons commented on July 18, 2024 1

Ok that was fairly easy thanks to this example I managed to use bind_device to the socket returned by bind_udp trait method and it perfectly fit what I wanted.

Thank you very much @djc for the help.

from trust-dns.

djc avatar djc commented on July 18, 2024

Which library are you using? Are you able to use a custom RuntimeProvider for this?

from trust-dns.

fmartinsons avatar fmartinsons commented on July 18, 2024

Hello, I recently encounter the need described by @jamilbk , I need to perform DNS request which follow a specific routing table, I have a wwan0 interface expose by some LTE USB dongle and the setup of to use name server configured for this interface, we must bind to it.

Long story short, I would like to use bind_device

@djc As my previous link suggested , I use tokio and the specific config for that in hickory.

Do you see a way to customize the underlying socket that will be used inside hickory ?

Thanks !

from trust-dns.

djc avatar djc commented on July 18, 2024

You haven't really answered the question in my previous comment.

from trust-dns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.