resolver

From: Timon, John (John.Timon@labatt.com)
Date: Thu Jun 06 2002 - 14:39:15 EDT


I have a question about the Solaris resolver.

in the resolv.conf file, the search stanza is limited to 6 domains. (i
understand that this is for performance reasons)

How can I make the resolver append more than just the max of the 6
domains???

I have grabbed bind source from isc.org and edited the resolv.h file and fix
the hardcoded limit. I set it to 16 for testing purposes.

after I build the new bind package, I edited my resolv.conf and added a
couple of extra domains to the search line.

I then execute the nslookup that was built as part of this package and set
all shows the newly added domains. Then I run /usr/sbin/nslookup and do a
set all and it doesn't show the other domains.

ldd on both of these nslookup commands shows linking to the exact same
libraries.

What gives, is the resolver statically built into nslookup??

-

What I would like is to be able to build a new libresolv.so and just drop
that in place so that existing tools (nslookup,ping,rlogin,... anything that
uses DNS) to work without changes

any ideas?

--
John Timon
Desk: 519 667 7187
Cell: 519 852 0042
Email: john.timon@labatt.com
Pager: 519 430 1826
"I feel sorry for people who don't drink. When they wake up in the morning,
that's as good as they're going to feel all day." 
 
		Frank Sinatra 
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:25 EDT