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

Re: Dns prob / resolving..



On Tue, 27 May 2003 10:10:30 +0800
"Miranda, Joel Louie M" <jmiranda@pd.state.gov> wrote:

> Hello,
> 
> I forgot about how to resolve host by names on bind9 dns.
> 
> Ex: I want to resolv only the name w/o the domain when I type..
> 
> Linux> nslookup
> Nslookup> louie
> 
> Server:         172.25.1.1
> Address:        172.25.1.1#53
> 
> Name:   louie.mydns.com
> Address: 172.25.1.2
> > 
> 
> 
> Here's my config, but when I type in louie it does not resolve
> 
> ns           3600    IN      A       172.25.2.1
> louie        3600    IN      A       172.25.2.2
> 
> Pls help!
This have nothing to do with bind. if you want to resolve only by name
put the following line in '/etc/resolv.con':

search	<DOMAIN>

when you make a dns query, you have to query for a
fully-qualified-domain-name (that is: host.domain). when you query only
for hostname, the client adds the domain from the 'search' entry in
resolv.conf.

Bye
-- 
Haim



Reply to: