LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-20-2011, 06:41 AM   #1
ngimmill
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: Disabled
Random resolver error on slack 13.1 x86


Hello,

I've a strange problem with glibc resolver :

On slackware 13.1 X86, with glibc-*-i486-3 packages (not yet replaced by glibc-*-i486-5 from patches directory)

DNS server (bind-9.4_ESV_R4) is on localhost.

resolv.conf contains "nameserver 127.0.0.1"

No cache ( daemon nscd is not running )

With a test program (in C ) calling about 2000 times gethostbyname (3) with "local" host names picked randomly from a list of about 15 names (the local dns server is authoritative for these names)

Sometimes (5 or 6 times for 2000 calls) , gethostbyname waits for about 5 sec, and returns "Host name lookup failure"

When querying directly the dns server (on the same host) from another C program (same number of calls) , all requests get a valid answer from bind.

With the same C program (using gethostbyname) running on an older slackware (12.0.0) which queries the dns server on the previous host (with 13.1), all calls to gethostbyname return a valid answer.

The temporary workaround is to run nscd on host running 13.1.

The next step is to try to upgrade glibc-*-i486-3 to glibc-*-i486-5 but before this, I wonder if someone has already seen this kind of problem ?


Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error 15.... GRUB... Random error with no logic whatsoever AriciU Slackware 6 08-03-2007 07:55 AM
cd rom error on installation media (With both slack 9,1 and slack 10) busbarn Slackware - Installation 6 07-15-2004 03:03 PM
Resolver error in dcgui-qt NonSumPisces Linux - General 0 07-04-2004 07:12 PM
Resolver Error RTT Linux - Networking 4 04-07-2004 01:19 PM
"NON-RECOVERABLE RESOLVER ERROR" when installing ports jamminparidise *BSD 1 02-11-2004 08:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration