Hi Ben, just for my understanding:
You want the DNS UDP packets being sent with src=88.1.1.10 and dst=(88.2.1.1,88.2.1.2)... this means using the interface 88.1.1.10. IMO, this is a routing (and resolv.conf) issue. similar to this post: http://www.linuxquestions.org/questions/solaris-opensolaris-20/multiple-domains-in-resolv-conf-802024/ Maybe I am wrong, in that case could you please add a detailed explanation, environment, purpose ? Because if anyone is going to implement such a thing, (s)he will need to build up a test environment and also add automated tests (+ extending the test suite). Regards, Tim On Monday 14 March 2016 14:11:46 Ben Greear wrote: > I have a feature request that would likely be most > easily implemented by adding libcares support to the wget tool. > > The feature is basically: Allow specifying local IP to bind to, > and specific DNS to use on the cmd line when using wget to download a web > site (recursively, to emulate a browser loading a page with images, etc). > > Something like: > > wget -l 0 -r --bind-address 88.1.1.10 --bind-dns-address 88.1.1.10 > --dns-servers "88.2.1.1,88.2.1.2" http://88.1.1.1/ > > curl can do this with one URL, but I don't think it can easily be made to > download image content and similar. > > If anyone is looking for a side project and wants to give this a try, please > let me know. > > Thanks, > Ben
signature.asc
Description: This is a digitally signed message part.
