Re: DNS and NIS help



In article <slrnf6gap3.1oq.n0b0dy@xxxxxxxxxxxxx>,
I R A Darth Aggie <no-courtesy-copies-please> wrote:
On Thu, 07 Jun 2007 08:29:53 -0700,
learner <Zabaloch@xxxxxxxxx>, in
<1181230193.631594.325890@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

+ I am on my way to implement NIS. Here are some of the details that I
+ have from the servers.
+ # ping www.yahoo.com
+ www.yahoo.com is alive

<snip! can resolve network addresses properly>

+ You can clearly see that as soon as I chnged the /etc/nsswitch.conf
+ file the server can no longer resolve any web addresses. However it
+ can resolve only the servers defined in the etc/hosts file by name
+ everybody else needs the IP address.

What does your /etc/nsswitch.conf look like? does it contain a line
like this:

hosts: files dns

More realistically, he'd probably want something like

hosts: files nis dns

That way, he'll still consult the nis hosts tables (for local IP lookup)
and DNS for non local IP lookup.

-tom

--

"You can only be -so- accurate with a claw-hammer." --me
.



Relevant Pages

  • Re: DNS & Domain Resolution
    ... Netbios name unless the Netbios name is the same as the name+dns suffix. ... But you should be able to resolve your own domain names NETBIOS name. ... Have a domain lookup problem in regards to my DNS. ... I can lookup all PC's / Servers / External Websites (DNS appears to be ...
    (microsoft.public.windows.server.networking)
  • Re: PPTP Site-to-Site VPN problem
    ... I've now re-installed SP1 as it's removal broke some other apps (nothing ... that I couldn't have resolved with a bit of time but as it didn't resolve ... I've seen a post referring to a supported hotfix KB897651. ... Win2k3 servers that run ISA Server 2000 (not quite my setup as I don't ...
    (microsoft.public.windows.server.networking)
  • Re: Setting up DNS records for internal web sites
    ... servers but I'm working with two of them. ... 2003 standard with AD, DNS, WINS, and file/print sharing. ... Now I want to host a site on ServerB called "MyWeb" (no ... to ping it does not resolve. ...
    (microsoft.public.win2000.dns)
  • Re: Intel 82574L interface wedging on em 7.1.9/7.2.3 when MSIX enabled
    ... I had a large pool of servers running 7.2.3 with MSI-X enabled during my ... but it didn't resolve the issue. ... Disabling MSI-X has without a doubt completely resolved my problem though. ...
    (freebsd-net)
  • Re: Intel 82574L interface wedging on em 7.1.9/7.2.3 when MSIX enabled
    ... I had a large pool of servers running 7.2.3 with MSI-X enabled during my ... but it didn't resolve the issue. ... Disabling MSI-X has without a doubt completely resolved my problem though. ...
    (freebsd-net)