Linux-Networking Digest #866, Volume #10         Thu, 15 Apr 99 08:13:29 EDT

Contents:
  Need to know the advantages of having multi-homed hosts ("Iskandar D")
  Re: NT faster than Linux? (Laurie Brown)
  Re: Masquerading / ISDN problem ("Leopold Toetsch")
  Re: NT faster than Linux? (David Damerell)
  DNS Please HELP ([EMAIL PROTECTED])
  Re: Using Linux instead of NT Server in home environment.... (Bill Anderson)
  Routing problem (J�n Gu�mundsson)
  Re: Assigning IPs to serial ports ("Bill Dunn")
  Re: Routing-problems ("Meindert Sprang")
  rusers crash with -l "long" option ("Alain Coetmeur")
  denied packets ("Leopold Toetsch")
  Re: Need to know the advantages of having multi-homed hosts ("Curt")
  Re: Linux/98/NT Network (Mike Frisch)
  eth0: re-entering interrupt handler (Jakub Sipowicz)
  Re: DNS Please HELP ("Curt")
  Re: ppp-2.3.5 install in Slackware 3.6? ([EMAIL PROTECTED])
  Re: DNS Please HELP (Stephen Carville)
  Re: KDE kppp 1.1 (Stephen Carville)
  need help with modem setup in Redhat 5.2 ("Bill Spargur")
  Re: DNS for intranet (Jeff)
  'Network unreachable' Help! (Michael Shtemler)

----------------------------------------------------------------------------

From: "Iskandar D" <[EMAIL PROTECTED]>
Subject: Need to know the advantages of having multi-homed hosts
Date: Thu, 15 Apr 1999 20:10:33 +0800

hi there,

i am rather confused to as why are they sometimes more than one hosts in a
system.  i hope you can help me on this.  thanks.

Q:  what are the advantages of having a multi-homed host connecting two or
more subnets that are already connected via a router-bridge ?


iskandar
[EMAIL PROTECTED]
kindly email your replies.  thanks again.



------------------------------

From: Laurie Brown <[EMAIL PROTECTED]>
Crossposted-To: linux.samba,uk.comp.os.linux
Subject: Re: NT faster than Linux?
Date: Thu, 15 Apr 1999 11:12:59 +0100
Reply-To: [EMAIL PROTECTED]

Laurie Brown wrote:
> 
> I received this pointer today. Comments anyone?
> 
> http://www.mindcraft.com/whitepapers/nts4rhlinux.html
> 
> Cheers, Laurie.

Being a sad git, and replying to my own post, http://www.lwn.net/ has
some good stuff on this. I think maybe this is the start of the
counter-attack by MS to the admitted threat of Linux to the server
market NT "owns".

Cheers, Laurie.

------------------------------

From: "Leopold Toetsch" <[EMAIL PROTECTED]>
Subject: Re: Masquerading / ISDN problem
Date: Thu, 15 Apr 1999 11:05:36 +0200


Bernd Eggink wrote in message <[EMAIL PROTECTED]>...
>My PC (running SuSE 6.0) has a ISDN card and is also connected to a
>Notebook by an ethernet card. I have set up masquerading and it works
>fine, except one annoying thing: Every time I log into my PC from the
>notebook using the PC�s hostname, the PC dials out and connects to the
>internet. The same happens when using rcp, rsh and the like. It does
>_not_ happen with �ping hostname�, however.
>
>I guess it has to do with name resolving, but I can�t see any reason for
>this behaviour, as both /etc/hosts contain an entry for the PC�s
>hostname, and /etc/host.conf contains


 >>Johann wrote: /usr/doc/support-db/sdb/ktr_62.htm
should be: /usr/doc/support-db/sdb/kfr_62.htm
or better /usr/doc/support-db/sdb/isdn_dial.htm

If this still doesn't help - as it was in my case - then install you own
DNS-Server (named). (I had still dial-outs when opening outlook-express)

An example for a DNS-Setup you can find here:
http://www.toetsch.at/de/tips/index.html?linux/99/07_5.htm
http://www.toetsch.at/de/tips/index.html?linux/99/15.htm
or w/o frames:
http://www.toetsch.at/de/tips/linux/99/07_5.htm#dns
http://www.toetsch.at/de/tips/linux/99/15.htm
(in german but config files are in linux :-)

leo




------------------------------

From: [EMAIL PROTECTED] (David Damerell)
Crossposted-To: linux.samba,uk.comp.os.linux
Subject: Re: NT faster than Linux?
Date: 15 Apr 1999 11:14:32 +0100 (BST)
Reply-To: [EMAIL PROTECTED]

Laurie Brown  <[EMAIL PROTECTED]> wrote:
>I received this pointer today. Comments anyone?
>http://www.mindcraft.com/whitepapers/nts4rhlinux.html

Look at the 'Mindcraft Certification' section. Sponsored by Microsoft.

[They stitch up a Sun E450 in a similar fashion.]

My guess is that the results were obtained by being extremely adept in
setting up WinNT (presumably with advice from the sponsors on how
precisely to optimise for this benchmark) and not at all adept at
setting up Red Hat. Screwy kernel configuration, perhaps?

Interestingly, when ZDNet Labs carried out similar test without
sponsorship from Microsoft, the results were significantly in favour of
Linux. I think the conclusion to be drawn is that Microsoft sponsorship
slows Linux systems down.
-- 
David/Kirsty Damerell.                       [EMAIL PROTECTED]
CUWoCS President.  http://www.chiark.greenend.org.uk/~damerell/   Hail Eris!
|___| [EMAIL PROTECTED] is not my email address,|___|
| | |   and email sent to it will be assumed to be spam and blocked.   | | |

------------------------------

From: [EMAIL PROTECTED]
Subject: DNS Please HELP
Date: Thu, 15 Apr 1999 10:06:13 GMT

Hi,

Ive got RedHat 5.0 Linux set up as my Primary DNS server and Mail server
too. The secondary Name server is located at my ISP connected via  Lease line.
The setup was workin fine till last week when the users started gettin a very
slow telnet and mail response from this server. After tracing it found that
there was some problem with the Primary name server as all the name resolution
was done by Secondary server located at my ISP. Only those clients
who had an entry in the /etc/hosts file seems to be connecting well.

When I do a nslookup, I get :
"Can't find server name for address 'my ip address': No information"
default server: 'My isp's domain name'

Ive also checked the scripts. But everything seems
fine.Can anybody figure out the problem and respond . Any help is highly
appreciated.
Thanks
SunilN

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

------------------------------

From: Bill Anderson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Re: Using Linux instead of NT Server in home environment....
Date: Wed, 14 Apr 1999 18:28:59 +0000

Stuart Fox wrote:
> 
> Think non technical for a change.  Linux is a great operating system if you
> are technically minded - which I assume all of us in this NG are ;) - but
> for ordinary small business owners, it is a complete mystery.  At least
> Windows NT looks like something they know, and they don't have to learn
> command line syntaxes for doing basic admin tasks.

Try actually *trying* the redHat install for a change.
No flames intended, but you have obviously not tried to do what you are
saying is not easy.
RH installs require *less* questions to be answered than NT, take less
reboots, and less time.
Linuxcocf is a GUI that will let you configure most everything on a
Linux box.

> 
> I have no particular axe to grind with either the NT or Linux side (although
> I am a consultant for MS products), I just think there are a few linux
> zealots out there who although they have technically excellent solutions,
> fail to take into account that non techos are going to be using these
> products.

Take that advice and apply it to yourself, and you'll have something.

> 
> Also, time for a few facts
> 
> 1.  NO operating system is bug free
> 2. Both Linux camps and MS spend considerable time locating and fixing bugs
> 3. A properly configured NT box will not Blue Screen, and will be as stable
> as a well configured Linux box.

#3 is false.

-- 
Bill Anderson                                   Linux Administrator
MCS-Boise (ARC)                                 [EMAIL PROTECTED]
My opinions are just that; _my_ opinions.

------------------------------

Date: Thu, 15 Apr 1999 10:29:09 +0000
From: J�n Gu�mundsson <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Routing problem

I have big problem to get the routing table to work properly on my
macine.

(here's how I set the network up :)

netconfig (Slackware)
ip-adress: 157.157.168.204
network adress:157.157.168.192
broadcast adress:157.157.168.254
default route:157.157.168.254

(the network is divided into subnets, thats why the adresses are like
that)

(now I load the module for the ethernet adapter:)

#insmod eepro io=0x300 irq=9

eth0: Intel 82595-based lan card at 0x300, 00:A0:C9:3B:A9:B7, irq 9,
10Base2

(Then I set the network up as bescribed in Ethernet HOWTO)

#ifconfig eth0 157.157.168.204 netmask 255.255.255.192 up

eth0: set Rx mode to 1 adresses
eth0: set Rx mode to 1 adresses
eth0: set Rx mode to 1 adresses
eth0: set Rx mode to 1 adresses

#route add -net 157.157.168.192 netmask 255.255.255.192 eth0

#route add default gw 157.157.168.254 eth0


(Then I check the routing table:)

netstat -rn
Kernel IP routing table

Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface

157.157.168.192 0.0.0.0         255.255.255.192 U      1500 0          0
eth0

127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0
lo

0.0.0.0         157.157.168.254 0.0.0.0         UG     1500 0          0
eth0


But according to "Running linux" (2nd edition) by Welsh&Kaufman the
Gateway
column should point at my own IP-adress (157.157.168.204) instead of
0.0.0.0
But I dont know how to configure the system to do so.

On this point i can ping to my own machine- 157.157.168.204 but if I try
to ping other machines on the network, then the command line freezes
until I do control-c and the it reports 100% packet loss.

I've tried to configure the system for over a month.....
-- 
The idea that Bill Gates has appeared like a knight in shining armour
 to lead all customers out of a mire of technological chaos neatly
ignores the fact that it was he who, by peddling second-rate 
technology, led them into it in the first place. (Douglas Adams)

------------------------------

From: "Bill Dunn" <[EMAIL PROTECTED]>
Subject: Re: Assigning IPs to serial ports
Date: Wed, 14 Apr 1999 13:31:01 -0500

    No. Unless you didn't understand or I didn't specify enough info that
won't work.

    Bill Dunn


John Edwards wrote in message <[EMAIL PROTECTED]>...
>You don't need to.  You're just connecting like a regular terminal.
>
>Bill Dunn wrote:
>>
>>     I am wanting to connect a serial cable from a Linux machine (Red Hat)
to
>> the console port on some access servers (Cisco, Livingston, Microcom). I
>> need to be able to give the Microcom maintenance program an IP address
and a
>> port to connect to. Connecting the cable is obviously easy but how do I
>> assign an IP address or port?
>>
>>     Bill Dunn
>
>--
>
>-- john edwards
>   [EMAIL PROTECTED]
>   301.470.4805



------------------------------

From: "Meindert Sprang" <[EMAIL PROTECTED]>
Subject: Re: Routing-problems
Date: 15 Apr 1999 07:26:12 GMT

dino <[EMAIL PROTECTED]> wrote in article <7f2mem$3l1$[EMAIL PROTECTED]>...
> Hi,
> i have set up an Network with one Linux box and Samba and one Linux box
as
> router for
> three subnetworks (Win95/98/NT). Samba works fine. The problem is that it
> isn�t possible to log on from
> a NT-machine (192.168.0.x) to the Samba server (192.168.1.x). To log on
from
> Win95-machine that is in the same subnetwork like the Samba-server to the
> NT-server in the other subnetwork is no problem. I can ping each box from
> each other. I have edited the etc/hosts on the router too.
> Anybody knows how to set up an simple DNS on the router?
> Thanks in advance
> tobi
> 
If your Samba version is pre 2.x, it doesn't support encrypted passwords.
So you'll hav eto tell the NT system not to use encrypted passwords.

Quoted from /usr/doc/samba-1.9.17p2-2/WinNT.txt:

All versions of Windows NT prior to 4.0 Service Pack 3 could negotiate
plain text (clear text) passwords. Windows NT 4.0 Service Pack 3 changed
this default behaviour so it now will only handle encrypted passwords.
The following registry entry change will re-enable clear text password
handling:

Run regedt32.exe and locate the hive key entry:
HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\rdr\parameters\

Add the following value:
        EnablePlainTextPassword:REG_DWORD=1

Unquote.

This did the trick at my network.

Meindert


------------------------------

From: "Alain Coetmeur" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin
Subject: rusers crash with -l "long" option
Date: Thu, 15 Apr 1999 11:49:14 +0200

On some linux Suse6.0 and Redhat 5.3 (kerner 2.0.36)

with rusers-0.10-8   (for red hat 5.3)
or 
nkitb-99.1.7-4       (for suse 6.0)

when I call rusers with the long option
it produce a Seg fault.

    
> rusers -l
root     whisky.idt.cdc.fr:console     Feb  9 14:39 1 days, 1:55:41
stricker whis:dtremotestrickerrhodes:0 Apr 15 09:17     2:03 (rhodes:0)
brun     whisky.idt.cdc.f:dtremotebrun Apr  8 13:09     2:03 (borabora:0)
canceill whisk:dtremotecanceilltonga:0 Apr 12 09:52     2:03 (tonga:0)
root     whisky.idt.cdc.fr:pts/5       Mar 24 17:51  8:40:27 (napa.idt.cdc.fr)
root     napa.idt.cdc.fr:console       Dec 11 14:46  8:40:27 (:0)
guennou  napa.idt.cdc.fr:pts/4         Mar 31 16:23  5:53:24 (cognac.idt.cdc.f)
guennou  napa.idt.cdc.fr:pts/6         Mar 31 17:52  5:53:21 (cognac.idt.cdc.f)
rodrigue saumur.idt.cdc.fr:dtremoterod Apr 14 16:51  2:07:18 (thorong.idt.cdc.)   
Segmentation fault (core dumped)    

I don't think it is related, but I also have problems
with the Suse6.0 nodes about the rpc.rstatd (used by rup)
that forks many dozens of processes and does not work well anyway.


does anybody have info about this ?


------------------------------

From: "Leopold Toetsch" <[EMAIL PROTECTED]>
Subject: denied packets
Date: Thu, 15 Apr 1999 12:35:47 +0200

Hi,
Yesterday, obviously during surfing the net I got following:

Apr 14 20:07:45 lux named[5539]: XX /192.168.1.3/ads07.hyperbanner.net/A
Apr 14 20:07:45 lux named[5539]: XX /192.168.1.3/ad.linkexchange.com/A
Apr 14 20:07:45 lux named[5539]: XX /192.168.1.3/www.click2net.com/A
Apr 14 20:07:46 lux kernel: IP fw-in deny ippp0 TCP 206.43.192.158:1007
195.3.my.dynip:63030 L=44 S=0x00 I=41709 F=0x0040 T=113
(last repeated 4 times)

I looked into /usr/src/linux/include/net/ip_masq.h and there is a line
#define PORT_MASQ_BEGIN 61000
So above port 63030 would be in the range of the masqued ports.

Is there something wrong with masquerading or was this a different issue?
BTW kernel 2.0.36, IP-Masquerading on with dynamic-IPs, no problems with
networking at all, my firewall rules are documented at
http://www.toetsch.at/de/tips/linux/99/08.htm
if it does matter.

TIA & regards
leo


------------------------------

From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: Need to know the advantages of having multi-homed hosts
Date: Thu, 15 Apr 1999 05:44:28 -0500

A multi-homed host is often used to create a firewall.

It would also be needed if you need to implement IP masquerading, so your
local network
appears as 1 IP to the rest of the world.   IP masq. is often part of the
firewall.

Iskandar D wrote in message <[EMAIL PROTECTED]>...
>hi there,
>
>i am rather confused to as why are they sometimes more than one hosts in a
>system.  i hope you can help me on this.  thanks.
>
>Q:  what are the advantages of having a multi-homed host connecting two or
>more subnets that are already connected via a router-bridge ?
>
>
>iskandar
>[EMAIL PROTECTED]
>kindly email your replies.  thanks again.
>
>



------------------------------

From: [EMAIL PROTECTED] (Mike Frisch)
Subject: Re: Linux/98/NT Network
Date: 14 Apr 1999 18:58:53 GMT

On Wed, 14 Apr 1999 18:41:26 GMT, Chris <[EMAIL PROTECTED]> wrote:
>    I am completely new to linux. I have a small peer to peer network
>between a NT workstation and 98 Box, I want to get the linux box to share
>the it's drive with the rest of the network. and vice versa. I am using
>RH5.2... where do i start?

/usr/doc/samba-1.9.18p10/

Mike.

-- 
======================================================================
  Mike Frisch                         Email: [EMAIL PROTECTED]
  Northstar Technologies        WWW: http://saturn.tlug.org/~mfrisch
  Newmarket, Ontario, CANADA
======================================================================

------------------------------

From: Jakub Sipowicz <[EMAIL PROTECTED]>
Subject: eth0: re-entering interrupt handler
Date: 15 Apr 1999 10:01:06 GMT

Has anyone expirienced any problems using a 3Com 3c900 card
on a SMP machine? My computer hangs from time to time
(not too often; once a week, say), displaying infinitely
"eth0: re-entering interrupt handler".

The system is running on Asus P2B-DS, 2*PII@333 (not overclocked)
with RH 5.2 and kernel 2.0.36 (with no patches) compiled for SMP.

Thanks for any help,

  JS

-- 
Jakub Sipowicz
Institute of Computer Science,
Jagiellonian University, Krakow, Poland
mailto:[EMAIL PROTECTED]

------------------------------

From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: DNS Please HELP
Date: Thu, 15 Apr 1999 05:58:25 -0500

Is named running?

ps ax | grep named

If not, it may have died.   Restart it and monitor it for why it may have
died.

Is it in /etc/rc.d/init.d ?   So it gets started on reboot.

[EMAIL PROTECTED] wrote in message <7f4dmh$52p$[EMAIL PROTECTED]>...
>Hi,
>
>Ive got RedHat 5.0 Linux set up as my Primary DNS server and Mail server
>too. The secondary Name server is located at my ISP connected via  Lease
line.
>The setup was workin fine till last week when the users started gettin a
very
>slow telnet and mail response from this server. After tracing it found that
>there was some problem with the Primary name server as all the name
resolution
>was done by Secondary server located at my ISP. Only those clients
>who had an entry in the /etc/hosts file seems to be connecting well.
>
>When I do a nslookup, I get :
>"Can't find server name for address 'my ip address': No information"
>default server: 'My isp's domain name'
>
>Ive also checked the scripts. But everything seems
>fine.Can anybody figure out the problem and respond . Any help is highly
>appreciated.
>Thanks
>SunilN
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own



------------------------------

From: [EMAIL PROTECTED]
Subject: Re: ppp-2.3.5 install in Slackware 3.6?
Date: Thu, 15 Apr 1999 10:48:14 GMT

Frank and Clifford. Thank you very much! I downloaded ppp-2.3.7 and using
a fresh copy of kernel 2.0.36 it all compiled and installed very nicely.
In fact I'm using the demand dialing setup right now to post this reply.
Thanks again!

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

------------------------------

From: Stephen Carville <[EMAIL PROTECTED]>
Subject: Re: DNS Please HELP
Date: Thu, 15 Apr 1999 04:11:23 -0700

[EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> Ive got RedHat 5.0 Linux set up as my Primary DNS server and Mail server
> too. The secondary Name server is located at my ISP connected via  Lease line.
> The setup was workin fine till last week when the users started gettin a very
> slow telnet and mail response from this server. After tracing it found that
> there was some problem with the Primary name server as all the name resolution
> was done by Secondary server located at my ISP. Only those clients
> who had an entry in the /etc/hosts file seems to be connecting well.
> 
> When I do a nslookup, I get :
> "Can't find server name for address 'my ip address': No information"
> default server: 'My isp's domain name'
> 
> Ive also checked the scripts. But everything seems
> fine.Can anybody figure out the problem and respond . Any help is highly

Are you using bind 8?  If yes, try this:

1. As root type "tail -f /var/log/messages".
2. In another windows as root: if DNS is not running, start it up.  If it
is running, type "ndc restart".
3. Watch the messages in the first window for some hint as to why your DNS
is not working correctly.

I am betting a zone file is munged and not loading correctly.

--
Stephen Carville
[EMAIL PROTECTED]
====================================================
It's all right to have geniuses build systems for use by idiots, but 
the path from laboratory to marketplace needs to go through the 
proving ground of prudent engineering.
                                        Peter Coffee

------------------------------

From: Stephen Carville <[EMAIL PROTECTED]>
Subject: Re: KDE kppp 1.1
Date: Thu, 15 Apr 1999 04:04:19 -0700

Tony Price wrote:
> 
> I am new to Linux and I am running KDE 1.1 on Redhat 5.0.  I can connect
> manually to my ISP fine through Minicom.  The PPP connection runs Netscape
> with no problems.  My question has to do with KDE's kppp.  Sometimes it
> connects as it should and sometimes it doesn't.  It seems the script stalls
> or doesn't send all the strings.  My ISP connects via a script.  I have
> heard kppp is somewhat unstable.  Any advice?  And is there any other auto
> dialers available?

Try running kppp with terminal based authentication.  Go to

Setup -> <account> -> Edit -> Dial

Set Authentication to terminal based.  This should show you every step that
is involved. If that doesn't help select Show log Window on the main screen
for some more debugging information.

Also, a tail /var/log/messages might give yu a hint as to why the
connection is failing.

-- 
Stephen Carville
[EMAIL PROTECTED]
====================================================
It's all right to have geniuses build systems for use by idiots, but 
the path from laboratory to marketplace needs to go through the 
proving ground of prudent engineering.
                                        Peter Coffee

------------------------------

From: "Bill Spargur" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.dial-up,alt.os.linux,comp.os.linux.hardware
Subject: need help with modem setup in Redhat 5.2
Date: Thu, 15 Apr 1999 00:58:03 -0700

hello..

i am relatively new to the Linux environment and am having trouble
setting up my modem configuration.  In Win 98, the modem is set
for COM4, IRQ 11 (it is a Creative Labs Modem Blaster 56k v.90 KFlex).
However, when my Linux OS boots up (Redhat 5.2), it
doesn't detect the modem and I can't seem to configure anything
to match it, even using symbolic links.  Can anyone please help?





------------------------------

Date: Wed, 14 Apr 1999 23:35:03 -0700
From: Jeff <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: DNS for intranet

I have sinced registerd my domains and have changed names and IP's, but
a while ago I was serving my local lan of 11 machines via a caching
server to handle local requests and my ISP's DNS when we were
connected.  Here is a little doc I wrote to givesomw hints to my self on
what I did.  So I could set it up again if needed.   I did this on three
RH5.2 2.0.36 boxes, I even went as far as to set up slave zones for my
ISP, but I left those sections out for simplicity. Also kept the machine
entries to just the minimum to serve as an example. I have a large
display and you may have to stretch your windo so the comments don't get
confusing with file text. 

####Cheat notes DNS.txt####
First - modify your /etc/named.conf (all references are to Bind 8.1.2 on
Redhat Linux.)  See below for comments..

[root@mummy /etc]# cat named.conf
// generated by named-bootconf.pl -

// Hmm... Not really.  I edited this pre-existing file by hand...

options {
        directory "/var/named";
        /*
         * If there is a firewall between you and nameservers you want
         * to talk to, you might need to uncomment the query-source
         * directive below.  Previous versions of BIND always asked
         * questions using port 53, but BIND 8.1 uses an unprivileged
         * port by default.
         */
        query-source address * port 53;
        // I un commented the above line.  It just tells DNS to use the
default port (53.)
};

//
// a caching only nameserver config
//
zone "." {
        type hint;
        file "named.ca";
};

zone "0.0.10.in-addr.arpa"{
        type master;
        file "named.hosts";
};

zone "0.0.127.in-addr.arpa" {
        type master;
        file "named.local";
};

//I added the zone monster.net.  It's my internal network.
zone "monster.net" {
        type master;    //This means the file monster.net.db is the master
for monster.net, and that the info
        file "monster.net.db";  //can be found in the file
/var/named/monster.net.db
};

****************************************************************************
********************

I then copied named.local to named.hosts.  Note the format of
named.hosts, which I edited.

[root@mummy named]# cat named.hosts
@       IN      SOA     localhost. root.localhost.  (
                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
              IN      NS      localhost.

9       IN      PTR     mummy.monster.net.
3       IN      PTR     frankenstein.monster.net.
1       IN      PTR     router.monster.net.

This is where the records for your local hosts go.  The first number is
the
last number for the subnet.  i.e frankenstien is 10.0.0.9.  Pay
attention to
the trailing dot (the last dot in mummy.monster.net.)  It's necessary,
and
indicates that this is for the top level domain.  In most of the net
it's
assumed.  This is where your reverse mapping occurs.  The forward
mapping
occurs in ..

[root@mummy named]# cat monster.net.db
@       IN      SOA     localhost. root.localhost.  (
                                      1999030201 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
              IN      NS      localhost.

mummy           IN      A       10.0.0.9
frankenstein    IN      A       10.0.0.3
router          IN      A       10.0.0.1

Not that these are the "A" records that you see when you doing an
nslookup. This is where your MX records would go if you wanted to have a
mail host for your domain.


I don't think I'm forgetting anything.  When you shutdown and restart
DNS, it should suck all of the new information over from a remote
domain.

Good luck

jeff


[EMAIL PROTECTED] wrote:
> 
> I am slowly but surely converting our office from Windows to Unix (Linux and
> others). Anyway, my latest project has been to setup a DNS for our intranet. I
> followed the instructions in the appropriate HOWTO, but am having problems.
> Keep in mind that this DNS is only for our local intranet and all calls
> outbound to the WWW will be handled by the soon-to-be-setup proxy squid.
> 
> Anyway, here is my /etc/named.conf:
> 
> // Config file for caching only name server
> 
> options {
>         directory "/var/named";
> 
>         // Uncommenting this might help if you have to go through a
>         // firewall and things are not working out:
> 
>         // query-source address * port 53;
> };
> 
> // NOTE: not needed since we are not serving outside domains
> //zone "." {
> //        type hint;
> //        file "root.hints";
> //};
> 
> // NOTE: ditto here
> //zone "0.0.127.in-addr.arpa" {
> //        type master;
> //        file "pz/127.0.0";
> //};
> 
> zone "wec" {
>         notify no;
>         type master;
>         file "pz/wec";
> };
> 
> Obviously, our domain is wec. For each office I figured it would be best to
> assign the office id as the domain (ie., wec, clc, aec, zec). Is it better to
> just give each office the same domain? (wec)
> 
> Here is my /var/named/pz/wec:
> ;
> ; Zone file for wec
> ;
> ; The full zone file
> ;
> @       IN      SOA     ns.wec. hostmaster.wec. (
>                         1       ; serial, todays date + todays serial #
>                         8H              ; refresh, seconds
>                         2H              ; retry, seconds
>                         1W              ; expire, seconds
>                         1D )            ; minimum, seconds
> ;
>                 NS      ns              ; Inet Address of name server
>                 NS      ns.wec.
>                 MX      10 mail         ; Primary Mail Exchanger
> ;                MX      20 mail.friend.bogus.   ; Secondary Mail Exchanger
> ;
> 1               PTR     localhost.
> ;
> localhost       A       127.0.0.1
> ns              A       127.0.0.1
> mail            A       127.0.0.1
> 
> I have named running at bootup BTW. Okay, I try using nslookup and get:
> [root@mail pz]# nslookup
> *** Can't find server name for address 127.0.0.1: Server failed
> *** Default servers are not available
> 
> Here is my /etc/host.conf:
> [root@mail pz]# nslookup
> order hosts,bind
> multi on
> 
> And my resolv.conf:
> search wec
> nameserver 127.0.0.1
> 
> Pardon the overload of information, but I think that this is all relavent to
> my problem. Anyway, it seems to me everything is setup. Is there something I
> missed?
> 
> Regards, Dustin
> 
> ---
> Dustin Puryear
> [EMAIL PROTECTED]
> 
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own

------------------------------

From: Michael Shtemler <[EMAIL PROTECTED]>
Subject: 'Network unreachable' Help!
Date: Thu, 15 Apr 1999 11:48:00 +0200
Reply-To: [EMAIL PROTECTED]

I receive "Network unreachable" message on ping
after I recompiled my kernel (without changing something in source)

I did it by next commands:

>make dep
>make clean
>make zlilo
>cp /vmlinuz /boot/vmlinuz
>reboot

I check my network configuration it seems to be o.k

What can be a problem ?
P.S i receive same message on ping to myself IP.




------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.networking) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Networking Digest
******************************

Reply via email to