|
Jan 30, 2003 Linux News - Issue #117 Jan 23, 2003 Linux News - Issue #116 Jan 16, 2003 Linux News - Issue #115 Jan 9, 2003 Linux News - Issue #114 Jan 2, 2003 Linux News - Issue #113 Dec 19, 2002 Linux News - Issue #112 Dec 12, 2002 Linux News - Issue #111 Dec 5, 2002 Linux News - Issue #110 Nov 28, 2002 Linux News - Issue #109 Nov 21, 2002 Linux News - Issue #108 Nov 14, 2002 Linux News - Issue #107 Nov 7, 2002 Linux News - Issue #106 Oct 31, 2002 Linux News - Issue #105 Oct 24, 2002 Linux News - Issue #104 Oct 17, 2002 Linux News - Issue #103 Oct 10, 2002 Linux News - Issue #102 Oct 3, 2002 Linux News - Issue #101 Sep 26, 2002 Linux News - Issue #100 Sep 19, 2002 Linux News - Issue #99 Sep 12, 2002 Linux News - Issue #98 Sep 5, 2002 Linux News - Issue #97 Aug 29, 2002 Linux News - Issue #96 Aug 22, 2002 Linux News - Issue #95 Aug 15, 2002 Linux News - Issue #94 Aug 8, 2002 Linux News - Issue #93 Aug 1, 2002 Linux News - Issue #92 Jul 25, 2002 Linux News - Issue #91 Jul 18, 2002 Linux News - Issue #90 Jul 11, 2002 Linux News - Issue #89 Jul 4, 2002 Linux News - Issue #88 Jun 27, 2002 Linux News - Issue #87 Jun 20, 2002 Linux News - Issue #86 Jun 13, 2002 Linux News - Issue #85 Jun 6, 2002 Linux News - Issue #84 May 30, 2002 Linux News - May 30, 2002 May 23, 2002 Pearl In The Shell May 16, 2002 Linux Filesystems - Part Two May 9, 2002 Inside The Linux Filesystem May 2, 2002 CD Burning Under Linux Apr 25, 2002 Star Office Vs. Open Office Apr 18, 2002 Surfing With Mozilla Apr 11, 2002 "We Don't Support Linux..." Apr 4, 2002 Visit The UNIX Library Mar 28, 2002 Linux and World Domination Mar 21, 2002 Working With Keyservers Mar 14, 2002 A Look At Public Key Cryptography Mar 7, 2002 Monitoring Systems With "vmstat" Feb 28, 2002 Star Office 6 Not to be Free for Linux? Feb 21, 2002 How Can Programming Benefit a Systems Administrator? Feb 14, 2002 Alias: It's Not Just a TV Show Feb 8, 2002 Using The diff and patch Utilities Jan 31, 2002 How To Detect Cracks Jan 24, 2002 Using Razor to Shave Away Spam Jan 17, 2002 Stomping Spam Jan 10, 2002 Sair Linux Courseware Review Jan 3, 2002 2002: The Year of the Penguin! Dec 27, 2001 UNIX Apps on a Windows Box? Dec 20, 2001 Directory Assistance Dec 13, 2001 How Do You Kill Zombies? Dec 6, 2001 Using Hard and Soft Symlinks Nov 29, 2001 Change Terminal-Based Apps Into Network Apps Nov 22, 2001 Adventures In Booting Nov 15, 2001 Getting To Know PAM Nov 8, 2001 Know Your Enemy Nov 1, 2001 Do Mulder and Scully Use X-Windows? Oct 25, 2001 A Quick Look at the RHCE Certification Oct 18, 2001 What's Up With Linux Certification? Oct 11, 2001 Express Yourself Regularly Oct 4, 2001 Advice For Lazy Penguins? Sep 27, 2001 NVIDIA Jumps On Linux Bandwagon Sep 20, 2001 Understanding DNS in a Linux Environment Sep 13, 2001 Be Careful With Binaries Sep 6, 2001 Party Like It's 999,999,999 Aug 30, 2001 Rooting Out Memory Hogs Aug 23, 2001 Spin Your 'Top' Aug 16, 2001 Keeping Time With NTP Aug 9, 2001 Supporting True Type Fonts Aug 2, 2001 Getting Perl To Fetch Jul 26, 2001 Who's The Man?! Jul 19, 2001 Adobe Cracks The DMCA Whip Jul 12, 2001 Due Processes Jul 5, 2001 Going Adobe Free Jun 28, 2001 Don't Send Mixed SIgnals Jun 21, 2001 Everything is a File. (almost) Jun 14, 2001 Know Your Partitions Jun 7, 2001 Where it's "at"! May 31, 2001 A Sneak Peek at RedHat 7.1 May 24, 2001 Scheduling Tasks With cron - Part 2 May 17, 2001 Scheduling Tasks With cron May 10, 2001 Open Source - Seeing Through The FUD May 3, 2001 A Look At Ximian's New Release Apr 26, 2001 Rev Up Your X-Windows Session Apr 19, 2001 Wrangling With GNU Cash Apr 12, 2001 Tame the syslogd Daemon Apr 5, 2001 Test Your Admin Skills At Honeynet Mar 29, 2001 Software RAID on Your Linux Box Mar 22, 2001 Prevent Disasters: Back It Up Mar 15, 2001 Notes From Underground! Mar 8, 2001 SuSE 7.1 - A First Look Mar 1, 2001 Certification Boot Camp Feb 22, 2001 Understanding Runlevels Feb 15, 2001 What Are The Advantages of Joining a LUG? Feb 8, 2001 Diving For Perls Feb 1, 2001 How To Secure Your Linux Installation Jan 25, 2001 Linux Problem Solving Jan 18, 2001 Stand up and Be Counted! Jan 11, 2001 2.4.0 is Here! Jan 4, 2001 When will Mom use Linux? Dec 28, 2000 The Year in Review Dec 21, 2000 The SourceForge Solution Dec 15, 2000 How to Compile and Install the New Kernel Dec 7, 2000 Put Your E-mail Into A Blackberry Basket Nov 30, 2000 Using Perl With Linux Nov 23, 2000 Working With MP3's Under Linux Nov 16, 2000 Apache 2.0 alpha 4 Nov 9, 2000 Dell loves Linux! Nov 2, 2000 What's Up With RedHat 7? |
===========================================================
LINUX NEWS
Resources & Links From www.CramSession.com
July 18, 2002
===========================================================
-----------------
TABLE OF CONTENTS
-----------------
1) Sean's Notes
2) Linux News
Going for the RHCE?
Linux@Walmart.com
Symantec to Acquire SecurityFocus
3) Linux Resources
Which is Better, ext3 or ReiserFS
What's in /etc/sysconfig?
Crazy Perl Tricks
NetSaint vs Big Brother
4) App o' the Week
~~~~~~~~~~~~~~~~~~~~~~ ADVERTISEMENT ~~~~~~~~~~~~~~~~~~~~~~~
Free Quizzer for all Cramsession subscribers. Your choice of
Win2K Professional, A+, Network+, CCNA, CCNP, or MetaFrame.
Hundreds of Free multiple-choice questions/answers and
detailed explanations, and lots of free reference material
in our adaptive simulation test engine. Limit one per
Cramsession subscriber. Download your FREE Quizzer at:
http://ad.brainbuzz.com/?RC06&AIU09
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For information on how to advertise in this newsletter
please contact mailto:adsales@CramSession.com or visit
http://cramsession.com/marketing/default.asp
===========================================================
1) Sean's Notes
===========================================================
You don't have to register a domain in order to play with
DNS. Having a DNS server for your local LAN can be helpful,
both in a corporate setting, and at home. Today, we're going
to set up DNS with our own top level domain (TLD).
.com is an example of a TLD. When you look up
www.cramsession.com, your resolver hits the root servers
looking for "cramsession". It gets a referral to
Cramsession's nameservers, who know all about the
cramsession domain (often called a zone). They then return
the answer to "www.cramsession.com".
We can create our own TLD, perhaps called "linux".
Unfortunately, the world won't know about it, but in a
private network, everyone can make use of it. Thus, you can
have "www.linux", or "payroll.linux", all in the privacy of
your own network.
Most distributions have BIND, so I'll let you install it
from a package rather than going through the install with
you. Two reasons - there are few options so it's rather
boring. The second reason is that if you use package
management, you can rely on your distribution to provide
updates (you do check regularly, right?)
/etc/named.conf controls most of what BIND does. The first
thing we have to do is define a new zone for our "linux" TLD:
zone "linux" IN {
type master;
file "db.linux";
};
Be careful with the semi-colons. named.conf is very picky
about syntax.
What we've done here is created an Internet zone (that's
the IN) called "linux". "type master" means that it's going
to be the one with the actual zone files. The file directive
tells BIND where to look for the zone file. Unless you fully
qualify the file, it's relative to /var/named.
The next thing is to define /var/named/db.linux:
@ IN SOA @ postmaster.linux. (
200207181 ; serial YYYYMMDD#
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
Every zone must have an SOA record, which stands for "Start
Of Authority". The important stuff there is the line marked
'serial'. It identifies the zone at a particular point in
time. Whenever you make a change, update the serial. Remove
nameservers cache this information, and the serial lets them
know the latest revision. I prefer to embed the date in the
serial, and appending a single digit in case I make multiple
updates in a day. It just helps when debugging, so I know
the last time it was modified. The other numbers are various
timeouts.
The "postmaster.linux" is supposed to be the email address
of the administrator, with the @ replaced by a .. Feel free
to put a throwaway one in there, it harks back to the days
when you could trust people out on the Internet. The @'s in
the SOA record are expanded to "linux." by the name server.
Rather than typing it in for every zone you create, you can
use this as a standard header.
The next records that go into your zone file identify your
nameservers. In an internal environment, it's likely that
they're already known anyway, but it's good practice:
IN NS linux.
(192.168.1.1 is the address of my internal name server,
substitute as appropriate)
Like directories, the name server files have a concept of
relative paths. We are currently in the "linux." zone. The
trailing dot means "STOP!". If you leave off the trailing
dot, the name server appends the zone if you leave it off.
So, if you ever see something like:
linux name server linux.linux.
--it's a clue that you forgot that dot.
On the left side, I've got
<blank> IN NS linux.
That blank gets "linux." tacked on to the end of it.
Similarly, we could have done--
linux. IN NS linux.
However, relying on the nameserver to add in the extra
stuff saves you a lot of typing later.
At this point, you could fire up named, and you'd have a
fully functioning nameserver for the linux tld for your own
private use. Not very useful without the other records,
though.
'A' records define hosts. If 192.168.1.2 were a web server,
I could point www.linux to it:
www IN A 192.168.1.2
Update your serial, and restart the name services. (You
might notice there is no . at the end of the IP address.
'A' records expect an IP address on the right hand side,
and will not implicitly append the domain)
# host www.linux
www.linux has address 192.168.1.2
Just to be correct, we defined linux. as our name server,
but we haven't defined an A record for it:
linux. IN A 192.168.1.1
--which gives us a hostname of "linux".
http://support.algx.net/cst/dns/dns2.html
--has a great tutorial on the various types of records you
can place within your zone.
Creating your own TLD is an easy way to learn DNS without
having to register your own domain. It's also a great thing
for companies, a url like http://payroll.mycorp is quite
distinguishable as an internal URL, and easier to remember.
The techniques we used here today are also the exact same
that are used when you want to register a domain on the
Internet. Just substitute our "linux" for your "whatever.tld"
and you're off to the races!
Long live the Penguin,
Sean
swalberg@cramsession.com
===========================================================
2) Linux News
===========================================================
-------------------
Going for the RHCE?
-------------------
Here's a poll on the Red Hat Linux Certified Engineer board.
Are you planning on taking the RHCE exam? Why or why not?
http://boards.cramsession.com/boards/vbm.asp?mY7924
-----------------
Linux@Walmart.com
-----------------
Here's some more information, including a link to the
online store, for the Walmart Linux PCs.
http://www.theregus.com/content/4/25601.html
---------------------------------
Symantec to Acquire SecurityFocus
---------------------------------
Not sure how I feel about this one... Security Focus has
long been a great source of security information, including
the famous BugTraq list, and a great jobs list. I hope that
being bought out by a vendor doesn't compromise their
objectivity.
http://www.symantec.com/press/2002/n020717.html
===========================================================
3) Linux Resources
===========================================================
----------------------------------
Which is Better, ext3 or ReiserFS?
----------------------------------
ext3 and ReiserFS are two popular journalled filesystems for
Linux. Each has their own distinct advantages, and both make
claims to be the fastest. Here's some objective performance
tests. Note, though, the author used some settings on both
filesystems that you'd only want to use if your hard drive
controller is battery backed -- not always realistic, and
defeats part of the purpose of having a journalled filesystem.
http://www.gurulabs.com/ext3-reiserfs.html
-------------------------
What's in /etc/sysconfig?
-------------------------
One of my favourite features of Red Hat is that most
everything can be configured out of /etc/sysconfig, making
automation with scripts that much easier. Though I find
looking at the init scripts the best way to find out what
variables to set, this web page has a good listing of what
files and variables are available.
http://www.redhat.com/support/resources/howto/sysconfig.html
-----------------
Crazy Perl Tricks
-----------------
This perl article illustrates an interesting concept --
serving web pages out of a tarball. I'm trying to think of a
practical use for it, but it's educational to say the least.
http://www.linux-mag.com/2002-04/perl_01.html
-----------------------
NetSaint vs Big Brother
-----------------------
Both NetSaint and Big Brother are programs to monitor
services and boxes on your network, and to alert you if
there are problems. This document is a very good comparison
of both programs.
http://userpages.umbc.edu/~smelam1/nsbb.pdf
===========================================================
4) App o' the Week
===========================================================
It's an Open Source version of Civilization. It's got
network play, and looks pretty good! They just released
1.13.0, a major milestone for the project.
http://www.freeciv.org
===========================================================
(C) 2002 BrainBuzz.com, Inc. All Rights Reserved.
===========================================================
_______________________________________________________
This message is from CramSession
You are currently subscribed to the following list
Hottest Linux News and Resources
as: swalberg@cramsession.com
To un-subscribe from this newsletter by e-mail,
send a blank email message to:
mailto:leave-linuxnews-11020600A@list.cramsession.com
To subscribe to this newsletter and many others visit
our site at:
http://newsletters.cramsession.com/signup/default.asp
-------------------------------------------------------
|