[CentOS] Simple Question about Resolving Names without suffix with bind
Garrick Staples
garrick at usc.edu
Sat Jul 7 05:36:46 UTC 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070706/d466a0e4/attachment.sig>
More information about the CentOS
mailing list