Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 1997 19:37:11 +0300 (EEST)
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        questions@freebsd.org (FreeBSD Questions)
Subject:   4.9.6 BIND problems?
Message-ID:  <199710231637.TAA20952@relay.ucb.crimea.ua>

next in thread | raw e-mail | index | archive | help
Hi!

According to resolver(5):

>      search      Search list for host-name lookup.  The search list is normal-
>                  ly determined from the local domain name; by default, it be-
>                  gins with the local domain name, then successive parent do-
>                  mains that have at least two components in their names.  This
>                  may be changed by listing the desired domain search path fol-
>                  lowing the search keyword with spaces or tabs separating the
>                  names.  Most resolver queries will be attempted using each
>                  component of the search path in turn until a match is found.
>                  Note that this process may be slow and will generate a lot of
>                  network traffic if the servers for the listed domains are not
>                  local, and that queries will time out if no server is avail-
>                  able for one of the domains.
> 
>                  The search list is currently limited to six domains with a
>                  total of 256 characters.

I have a null /etc/resolv.conf.
So, the search order in my case should be "ucb.crimea.ua crimea.ua", right?

1) What happening when I try `nslookup xyz` is:

> Oct 23 19:31:22 relay named[94]: XX /127.0.0.1/xyz.ucb.crimea.ua/A
> Oct 23 19:31:22 relay named[94]: XX /127.0.0.1/xyz/A

why there is no xyz.crimea.ua query after xyz.ucb.crimea.ua?

2) I have a local name db.fil02.ucb.crimea.ua
   What happening when I try `nslookup db.fil02` is:

> Oct 23 19:33:31 relay named[94]: XX /127.0.0.1/db.fil02/A
> Oct 23 19:33:48 relay named[94]: XX /127.0.0.1/db.fil02.ucb.crimea.ua/A

why it is asks root servers first?

Should I send PR?

Thanks,
-- 
Ruslan A. Ermilov	System Administrator
ru@ucb.crimea.ua	United Commercial Bank
+380-652-247647 	Simferopol, Crimea
2426679 		ICQ Network, UIN



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710231637.TAA20952>