Re: DNS bug?

Jeff Blake <[email protected]> Wed, 9 Apr 2014 14:03:22 +0100
Newsgroups gmane.comp.web.polipo.user
Message-ID <[email protected]>
On Tue, 8 Apr 2014 11:06:37 +0200
Richard Z <[email protected]> wrote:

> Hi,
> 
> I am hitting something like a DNS bug: apparently when /etc/resolv.conf
> is changed polipo does is unable to resolve. No other program seems to
> have any difficulty under the same configuration.
> 
> In detail, polipo is started at boot as offline and when NetworkManager 
> establishes a connection proxy is configured online without restarting.
> 
> All requests subsequently fail with eg
> 
> Couldn't send DNS query: Invalid argument
> Falling back on gethostbyname.
> Host de.wikipedia.org lookup failed: Host not found (131072)
> 
> Is there some configuration option to fix it? 
> 
> Richard
>
There's a dnsUseGethostbyname config option which controls whether the 
system resolver or polipo's own internal resolver is used, see :-
http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/manual/DNS.html

There's also a third-party patch related to this which I've just committed 
to my github repo :-
https://github.com/berkley4/polipo/commit/ba8b7815da669acf5371867b521e4312ef61915b

Regards

Jeff

> ---
> Name and OpenPGP keys available from pgp key servers
> 
> 
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment 
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> _______________________________________________
> Polipo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/polipo-users


-- 


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees