Re: Simple Question about Resolving Names without suffix with bind

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

Attachment: pgp2dPSQWIPJ7.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux