[lug] resolver problems

Nate Duehr nate at natetech.com
Mon Mar 5 23:44:29 MST 2001


On Fri, Mar 02, 2001 at 11:12:48AM -0700, John Hernandez wrote:
> Whenever I use dig, host, or nslookup and specify a nameserver other than the default, I get a Segmentation fault.  But it only happens if I use FQDN rather than IP address for the server specification.  I tried strace, but it didn't really help me.  It produces a core file, but I'm not experienced in corefile analysis either; completely clueless what to do after 'gdb dig core'.
> 
> My system:
> Linux 2.4.1
> RH 7.0.99 (fisher)
> i686
> 
> $ dig @name.ufl.edu www.ufl.edu
> Segmentation fault
> $ host name.ufl.edu
> name.ufl.edu. has address 128.227.128.24
> $ dig @128.227.128.24 www.ufl.edu
> 
> ; <<>> DiG 9.1.0 <<>> @128.227.128.24 www.ufl.edu
> ;; global options:  printcmd
> ;; Got answer:
> 
> I found something about this in Redhat's bugzilla system, and the engineer's advice was "upgrade your glibc".  Well, I can't find a more recent glibc, and there are no updates in the fisher tree.
> 
> $ rpm -q glibc
> glibc-2.2.1-3
> 
> Any ideas?
> 
> -John
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug

Try strace'ing dig and seeing if you can see what's causing the problem
near the end out the output.  Messy, but you might find it.

-- 
Nate Duehr <nate at natetech.com>

GPG Key fingerprint = DCAF 2B9D CC9B 96FA 7A6D AAF4 2D61 77C5 7ECE C1D2
Public Key available upon request, or at wwwkeys.pgp.net and others.



More information about the LUG mailing list