Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Local DNS Setup for Intranet - Please Help

91 views
Skip to first unread message

Vuunderboy

unread,
May 11, 2003, 11:03:29 AM5/11/03
to
Hi all...

I have a home network, all computers are plugged into my linsys cable mode /
router. I have a box with red hat 9 which I want to use as a web server for
my local intranet. I can get to the web server via IP address, but want to
set up local DNS so I can do it by name. Won't find it, nor will it go there
via machine name either. I can ping all computers from each other, so
connectivity isn't a problem.

Can anyone point me in the right direction? I am not trying to do this for
Internet connection sharing.

-Scott-


dav...@yahoo.com

unread,
May 11, 2003, 11:18:45 AM5/11/03
to
In comp.os.linux.setup Vuunderboy <vuund...@noreply.hotmail.com> wrote:
> so I can do it by name.

Read the DNS-HOWTO (or was the BIND-HOWTO?) and set up a decent version
of named.

Davide

Vuunderboy

unread,
May 11, 2003, 11:30:08 AM5/11/03
to
I have read the how-to, but honestly, as a linux noob, it is a little deep.
Hoping that someone may be able to help me with a simple walkthrough, or
some steps to where I could accomplish getting the machines recognizing each
other by name. My apologies, but we all need to start somewhere :) Thanks
for the direction though... it is appreciated


<dav...@yahoo.com> wrote in message
news:b9lpkl$ko0fk$4...@ID-18487.news.dfncis.de...

J.O. Aho

unread,
May 11, 2003, 11:42:19 AM5/11/03
to
Vuunderboy wrote:
> I have read the how-to, but honestly, as a linux noob, it is a little deep.
> Hoping that someone may be able to help me with a simple walkthrough, or
> some steps to where I could accomplish getting the machines recognizing each
> other by name. My apologies, but we all need to start somewhere :) Thanks
> for the direction though... it is appreciated

IMHO the setting up zone files is quite complicated for bind, I have managed
to make some working ones, but they aren't 100% right.

I would suggest you take a look a the 'hosts' file, here you can do something
like:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.0.1 gateway
192.168.0.2 webserver
192.168.0.3 workstation
192.168.0.4 gamebox


This you have to do on each machine, but it's a lot easier than to mess with
bind, if you have only a handful of computer.

There are other DNS server programs around, you can take a search at freshmeat.net


//Aho

Vuunderboy

unread,
May 11, 2003, 11:44:36 AM5/11/03
to
Hi all...

Also, I have read the How-To DNS, and am still baffled. As a noob, it is way
over my head.


-Scott-

Shawn Milo

unread,
May 11, 2003, 12:07:39 PM5/11/03
to

In your /etc/hosts file, add a line for the server.

Example: On one of your machines (not the server), add a line
that looks like this:

192.168.1.10 servername

Of course, use the correct IP address, and call it whatever you like.

Shawn

Jem Berkes

unread,
May 11, 2003, 12:41:30 PM5/11/03
to
> I would suggest you take a look a the 'hosts' file, here you can do
> something like:
>
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1 localhost.localdomain localhost
> 192.168.0.1 gateway
> 192.168.0.2 webserver
> 192.168.0.3 workstation
> 192.168.0.4 gamebox

This should work fine. If you also have Windows machines that you want
participating in this, they have the equivalent of /etc/hosts in the file
%windir%\system32\drivers\etc\hosts

--
Jem Berkes
http://www.pc-tools.net/
Windows, Linux & UNIX software

Message has been deleted

Vuunderboy

unread,
May 12, 2003, 2:37:26 PM5/12/03
to
Nah... I am looking just to do this on the local intranet I have. I have the
linksys to which all of my boxes are hooked up to, and DHCP is set up for
that. Thus, all get a variable IP within my desired range. What I want to
do, is host a server on my linux box, only for my intranet. Not concerned
with the outside world. I can already access the web server from any machine
in my network via IP, but want to by name as well. When I edit th ehosts
file on each window box, I accomplish this. BUT... I want to set up zones on
the linux box, and set the network configs when I set up the windows boxes
to look to the Linux machine to try and resolve a name (just for intranet),
and if it can't find it, look to the DNS provided by my ISAP to access the
outside world.

-Scott-


"Daniel L" <feedb...@yahoo.com> wrote in message
news:b5ce5fd6.0305...@posting.google.com...
> Hi,
>
> Well the easy way is to open an account with zonedit.com (5 domian
> names free) and point with them. I have been using them for years. If
> you want to change your to 1coms.com ($8 - $12 ) they have an easy to
> use config area as well.
>
> The good thing about this is if your dns server goes down you have no
> service, however with these alternatives above they are backed up to
> the bone and some are free.
>
>
>
>
> Shawn Milo <sh...@linurati.net> wrote in message
news:<fE2dnfjoWMP...@comcast.com>...

0 new messages