On Sat, Jul 07, 2007 at 12:58:03PM +0800, Wei Yu alleged:
Hi
I am trying to use Bind as named. And I have successfully set up a chrooted bind.
Anyway, I cannot have it resolve "www" directly.
For example, when I am using nslookup, when enter www.example.com, it will resolve. But when enter www, it will not. I want to have www resolve to www.example.com, what should I do? I have already set $ORIGIN in the zone file, but it does not work.
That is something you set in your own client resolver libraries. Put "search example.com" into /etc/resolv.conf.