RE: Dns prob / resolving..
Oh, ic got ur point thanks! I never add the search options on resolv.conf,
now I did and I can resolve only by hostname.
From: Haim Ashkenazi [mailto:firstname.lastname@example.org]
Sent: Tuesday, May 27, 2003 4:01 PM
To: Debian User
Subject: Re: Dns prob / resolving..
On Tue, 27 May 2003 10:10:30 +0800
"Miranda, Joel Louie M" <email@example.com> wrote:
> 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':
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.
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact