[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Alternative solution



On Sep 29 2016, Jakub Wilk <jwilk@debian.org> wrote:
> Luckily, glibc has a way to disable DNS queries without LD_PRELOAD trickery:
>
> $ RES_OPTIONS=attempts:0 wget http://www.example.com/

Wow, I wonder many people have used this innocent environment variable
name and been bitten by weird network failures.. Couldn't they at least
call it LIBC_RES_OPTIONS?

Best,
-Nikolaus, shaking his head

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«


Reply to: