[98376] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Linux abuses DNS server

daemon@ATHENA.MIT.EDU (William Stearns)
Sun Nov 8 19:06:15 1998

Date: Sun, 8 Nov 1998 19:05:33 -0500 (EST)
From: William Stearns <wstearns@pobox.com>
To: redhat-list@redhat.com
cc: Yanhui Liu <yanhui@argento.bu.edu>
In-Reply-To: <Pine.SGI.4.05.9811080133300.23069-100000@argento.bu.edu>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Good day, Yanhui,

On Sun, 8 Nov 1998, Yanhui Liu wrote:

> I am running linux 5.0 on my notebook and it's linked to the token ring
> ethernet. But after running for a week, my linux box was banned from the
> company network, since it constantly look up some strange websites through
> the DNS server, several times a second. I am wondering whether you have
> come across this problem before. 

	Without knowing what kinds of clients and servers you run on your
Linux box, I'm not really sure of the source of the problem.  Are these
websites in any way related to the domains from which you get mail?  Are
you running your own Web server or web proxy that might be looking up the
domains of people connecting to it?  Are you running any other servers
that others use?
	Perhaps I can suggest a workaround.
	You can run your own DNS server on your notebook; that's exactly
what I'm doing right now on _my_ laptop.  By telling your box to ask
_itself_ _first_ for any DNS queries (which will be cached in your local
DNS server), you can significantly reduce the load on your company's
server.  You can even offer to act as a secondary DNS server for other
machines on your network, _reducing_ the load on the existing server.
	Here's how:
1) Install all of the bind-*.rpm's from your distribution: 
"rpm -Uvh /path/to/bind-*.rpm"
2) Install the "caching-nameserver-*.rpm similarly.
3) Start up the nameserver by running "/etc/rc.d/init.d/named start"; you
only have to do this once; every future reboot will do this automatically.
4) edit /etc/resolv.conf.  Above any other "nameserver ...." line, add
this line:
nameserver 127.0.0.1

5) Save and exit.
	That's it!  You box will still make some requests for DNS, but
most will be served locally.
	Cheers,
	- Bill


---------------------------------------------------------------------------
Unix _is_ user friendly.  It's just very selective about who its friends 
are.  And sometimes even best friends have fights.
William Stearns (wstearns@pobox.com)
Mason, buildkernel, and named2hosts are at: http://www.pobox.com/~wstearns
---------------------------------------------------------------------------



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post