On Thu, Nov 20, 2008 at 7:36 AM, jam <[EMAIL PROTECTED]> wrote:

> > Previously I configured my DNS under bind. However, I noticed that after
> > booting 4 or 5 thin clients, bind9 would magically stop replying to
> > queries. At this point, sudo would become very slow and few of my clients
> > would be able to boot or even get IP addresses from the server.
> >
> > Neither dhcp3-server nor sudo should be making DNS lookups. My hosts file
> > looks like so:
> >
> > ===
> > 127.0.0.1    localhost
>
> > 127.0.1.1    mars.schoolsite.local    mars
> >
> > 192.168.1.8    mars.schoolsite.local    mars
> > 192.168.11.254    mars.schoolsite.local    mars
>
> [snip]
> So who is mars 127.0.0.1, 182.168.1.9 or 192.168.11.254
> Don't know if THIS causes your problem, I've never tried something as umm
> not-
> clever as this. But this is NOT good

Wait, what?

/etc/hosts entries shouldn't kill bind, no matter what. And my nsswitch.conf
clearly picks files before dns.

===
[EMAIL PROTECTED]:~$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis
===
mars is the name of the server.
mars.schoolsite.local is the fqdn.

127.0.1.1 is a localhost alias. It's a default fill-me-in entry in ubuntu.
the two other addresses are hostnames of the different interfaces.

Now if you have DNS why is there an entry for mars in /etc/hosts. That is
> not
> BAD but certainly not GOOD. See /etc/nsswitch.conf

I have no idea why it is not good to have a host entry in case your dns goes
down.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to