[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[no subject]



If you are not connected to the internet, you don't really need DNS anyway.
If you will be connected to the internet (or if your Linux box will be) you
must utilize reserved IP's.

> > >       I followed the example given in the Network Administrator's
Guide,
> > > but
> > >       I can't get it to work. After completing the entires for the
> > > named.ca, named.hosts,
> > >       named.rev and named.local files I stop named via ".
> > > ./etc/rc.d/init.d/named stop"
> > >       and restart via. ". ./etc/rc.d/init.d/named start".
> >

The Network Admin's Guide does not strictly apply to RedHat.

Redhat places the named.* files in different directories... Another reason
to use linuxconf instead.

> > Which editor did you use to create the files?
>
> I used vi and yes, I'm guilty of tabbing like crazy, nice alignment...
I'll fx
> these...
>

The problem is that DNS/named DOES NOT want tabs, it wants spaces...

> >
> >
> > DNS is very sensitive to the use of TABS...
> >
> > Personally I use "joe" to edit the files...
> >
> > Another option is to use the updated linuxconf program with the DNS
modules.
> > This is easier to utilize.
> >

BIG HINT here, you disregarded it...

> > >       At this stage I get no error messages, however when I type
> > > "nslookup" to
> > >       test, I get the following error message:
> > >
> > >       "*** Can't find server name for address 199.1.1.2: Server
failed"
> > >       "*** Default servers are not available"
> > >
> > This normally means that your NS record is not pointing to the 199.1.1.2
> > address... Check your files...
> > You should have one NS record for each "interface" which will answer DNS
> > queries. This includes 127.0.0.1...
> >

Did you check your NS records?

> > >
> >
> > What does "uname -a" produce. It should result int the full name of the
syst
> > em. Http uses the hostname part to determine the interface(s) it is to
> > server queries on, unless you specifically specify an interface...
> >
> > >      What does this mean and could it be what's affecting my DNS
setup?
> > >

Again, you didn't answer the question....

"uname -a" ... what does it produce, and yes it is important.

> > > 3) I loaded the IMAP RPM and set up a user, sent him some mail, and
> > > fired up
> > >     Netscape Messenger, I set up a POP account, I could only get mail,
> > > when I try
> > >     to send mail to another user on the Linux box, I get the following
> > > error message:
> > >
> >
> > Do you have a REGISTERED Domain?
>
> No I don't, this is all for a LAN only without a need for a registered
domain.
>

Then why bother setting up MAIL? It's not going to work, unless you utilize
your ISP's mail server...

> >
> >
> > Did you "make up" the ip's??? (If so this is a BIG no-no.)
>
> Could you please explain this a bit more? I set the IP's statically on
each
> machine. I
> do not use DHCP.

Did you make up the IP's you are using or where the numbers assigned to you
by your ISP or the internic?

If you made them up... you should not be connected to the internet...
If you are connected, you should be using reserved IP's...
> > Worry about (in this order)
> >
> > 1) Pinging other machines via IP's - OKAY
>
> >
> > 2) Pinging the internet via IP's - No internet connectivity required.
>
> > 3) Getting nslookup to respond to local host names...
> > 4) Getting ping to work, on your DNS machine to remove machines, via
host
> > names...
> >
> > THEN after everything else is working, deal with MAIL and HTTP
services...
>
> I'll retry DNS and uname tonight, thanks again for all of your help... If
you
> can throw
> anything else my way, please do,
>
> again thanks,
>

If you are not connected to the internet, you do NOT need a DNS... try
editing /etc/hosts and /etc/lmhosts on all of your machines instead. This is
MUCH easier...

(In windows this is C:\Windows\hosts and C:\Windows\lmhosts)

-JMS
opjose ex-pressnet com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]