On Mon, 18 May 2009 23:19:41 +0200 Beso <givemesug...@gmail.com> wrote:
> > > > have you tried revdep-rebuild?! and rebuilding pdnsd?! > Well, I think that I have solved the problem -- or at least have accidentally stumbled upon the solution. With the new glibc-2.10.0 and pdnsd, DNS lookups from software such as firefox, wget, curl, and email clients would fail. However, DNS lookups form other programs such as host and nslookup would not fail. The difference was traced to the use of the glibc gethostbyname() routine and the /etc/resolv.conf file. I am still not able to fully understand what's going on, but if I keep the /etc/resolv.conf file intact while using pdnsd, all DNS lookups are successful. Previously, pdnsd did not require the use of the /etc/resolv.conf file because its own configuration file specified the name servers to use. For this reason I had always deleted the /etc/resolv.conf file before using pdnsd. However, with the new glibc-2.10.1, the gesthostbyname() routine most likely is failing if the /etc/resolv.conf is not present. This is just a guess but it seems plausible. With the /etc/resolv.conf file present, the gethostbyname() routine is able to pass on to pdnsd. Only with further debugging and tracing would it be possible to get an accurate picture, but since pdnsd now functions normally, I'll just accept things as they now stand. In conclusion, a bug is not present anywhere. Pdnsd has an unconventional configuration scheme and this now causes problems if the user decides to eliminate the /etc/resolv.conf file. Frank Peters