From: Mario Stargard <mstargard@myprivacy.ca>
Subject: Re: Tru64 V5.1 Name Resolving (DNS) problem
Date: Fri, 29 Jul 2005 11:41:38 -0400 [thread overview]
Message-ID: <ZfCdnZmNtKap03ffRVn-3g@magma.ca> (raw)
In-Reply-To: <1122620560.656459.8770@f14g2000cwb.googlegroups.com>
Asterisk wrote:
> Hi Experts,
>
>
> I've encountered a problem related to Name Resolving on my Tru64 Box.
>
>
> I've defined the name servers' IP on the "resolv.conf" as below:
> nameserver xxx.xxx.xxx.xxx
> nameserver yyy.yyy.yyy.yyy
>
>
> And the "nsswitch.conf" contains the following entries:
> aliases: files
> auth_prpasswd: files
> group: compat
> group_compat: nis
> hosts: files dns
> netgroup: nis
> networks: files
> passwd: compat
> passwd_compat: nis
> protocols: files
> rpc: files
> services: files
>
>
> By using "nslookup" on the Tru64 box, I can resolve the name into IP:
>
>
> #nslookup
> Default Server: dns01-aa.bbbbbb.abc
> Address: xxx.xxx.xxx.xxx
>
>
>
>
>>www.cisco.com
>
>
>
> Server: dns01-aa.bbbbbb.abc
> Address: xxx.xxx.xxx.xxx
>
> Non-authoritative answer:
> Name: www.cisco.com
> Address: 198.133.219.25
>
>
>
>
>
> But I can't ping the www.cisco.com:
>
> # ping www.cisco.com
> ping: unknown host www.cisco.com
>
>
> The ping can get the IP of the host if it exist in "/etc/hosts"
> And my "/etc/hosts" file has the 2 entries for my primary and secondary
>
> name server IP and name.
>
>
> I would like to know if anything I need to change in order to make the
> "nsswitch.conf" file valid ? Or there's any problem on my
> "nsswitch.conf" file ? Or I need to restart some process after changing
>
> the above files ?
>
>
> Please kindly help ! Million thanks ! :)
>
Have you tried svc.conf? The keywords are local and bind with a comma
separator. There should be a manpage.
Example:
hosts=local,bind
next prev parent reply other threads:[~2005-07-29 15:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-29 7:02 Tru64 V5.1 Name Resolving (DNS) problem Asterisk
2005-07-29 15:41 ` Mario Stargard [this message]
2005-07-30 12:18 ` Asterisk
2005-07-30 14:29 ` Mario Stargard
2005-07-30 19:27 ` Asterisk
2005-08-01 13:44 ` Asterisk
2005-08-03 18:02 ` Peter da Silva
2005-07-29 22:48 ` Peter da Silva
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox