Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Re (8th): DNS lookup failure on Linksys router

Re (8th): DNS lookup failure on Linksys router

2004-12-23       - By Gregory L. Hering

 Back
Reply:     1     2     3     4     5  

Dear Joshua,

BIND is not related to DHCP at all.  DHCP serves IP addresses to machines that
don't already have them assigned.  BTW, it's called dynamic addressing, but
usually the server will give the same address to a particular machine.

BIND (i.e. named) is a DNS server.  It takes requests for a name-to-IP
translation and returns an IP address.  

Basically, BIND takes a centralized 'hosts' file and gives it out on request to
other machines on your LAN with empty hosts files.
If you have an entry in your local host file already and your search order is
'files, dns' then it will take the entry in the host file without requesting a
DNS lookup from your server.  If your server can't resolve the reference it
either gives up or, if you have an outside source configured, it will pass the
request on to them and the cycle is repeated.

For BIND to work, you have to create a fixed 'hosts' file (called a zone file)
on the BIND server that describes the nodes on your network.  You can't do this
with dynamic IP addresses, so you have to give fixed addresses to all your
machines anyway.

Unless you have a large or very frequently changing network you would be better
off just to modify all your host files.  Trust me, configuring BIND is not
trivial.  I wouldn't consider it at all if your Linux box isn't up 24/7,
because all your nodes on your LAN must point to this DNS server for both name
sets (your LAN names and 'real' WAN names) to be served and if the Linux box is
ever down you are out of business.  In fact, once you do this, you will
probably want to consider setting up a secondary or backup DNS server against
the case that your primary server goes off line.

Once your IPs are fixed and your host files are setup you'll be done and home
free.  Don't try the BIND approach without first considering the cost/benefit
ratio.


The real BIND home page:
http://www.isc.org/sw/bind/

and the FAQ there:
http://www.isc.org/sw/bind/FAQ.php

BTW, if someone would like to volunteer how the Windows boxes are getting the
name info of the Linux box I would love to hear it!

Thanks,

Greg


--- on Thursday, jev phoenixresearch info wrote ---
From: Joshua E Vines <jev phoenixresearch info>
To: Shrike-list Digest <shrike-list redhat com>
Subject: Re (8th): DNS lookup failure on Linksys router
Date: Thu, 23 Dec 2004 12:26:11 -0500

Who in their right minds would want to configure a hosts file in a dynamic
environment?! As I have said before, Linux is not always on (I don't always
have the system powered up), which is why I  can not allow Linux to take over
DNS for the network. I certanly don't need to configure the hosts file on the
Windows computer if they are working fine with out it (they can ping Linux by
name). It is Linux that can not ping Windows by name. This is what I would like
to be able to do. Sence the router acts as a DHCP server, I should be able to
configure BIND to extract IP information from the router as if it was an
ordinary DHCP server. My question is: how do I setup BIND to do this? Sence I
will be using Shirke as an Oracle server (I know, Oracle was not tested on
Shrike, but I have made it work in the past, and I will make it work again), I
will mostlikely be changing to a fixed IP, but the rest of the network will
still be dynamic. There is no reason why I should have to configure the hosts
on Linux if the rest of the network can change. It would be rediculous having
to change the hosts everytime I wanted to ping someone. How do I setup
/configure BIND? If possible, give instructions using "redhat-configure-bind 1.9
.0" instead of directly editing the config files.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">
<META content="MSHTML 6.00.2800.1476" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><!--StartFragment --><FONT color=#000000><FONT face=Arial><FONT size=2
>Dear
Joshua,</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000><FONT face=Arial><FONT size=2>BIND is not related to
DHCP at all.&nbsp; DHCP serves IP addresses to machines that don't already have
them assigned.&nbsp; BTW, it's called dynamic addressing, but usually the
server
will give the same address to a particular machine.</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT color=#000000><FONT face=Arial><FONT size=2>BIND (i.e. named) is a
DNS server.&nbsp; It takes requests for a name-to-IP translation and returns an
IP address.&nbsp; </FONT></FONT></FONT></DIV>
<DIV><FONT color=#000000><FONT face=Arial><FONT
size=2></FONT></FONT></FONT>&nbsp;</DIV></DIV>
<DIV><FONT face=Arial size=2>Basically, BIND takes a centralized 'hosts' file
and gives it out on request to other machines on your LAN with empty hosts
files.</FONT></DIV>
<DIV><FONT face=Arial size=2>If you have an entry in&nbsp;your local&nbsp;host
file already and your search order is 'files, dns' then it will take the entry
in the host file without requesting a DNS lookup from your server.&nbsp; If
your
server can't resolve the reference it either gives up or, if you have an
outside
source configured, it will pass the request on to them and the cycle is
repeated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>For BIND to work, you have to create a
fixed&nbsp;'hosts' file (called a zone file) on the BIND server that describes
the nodes on your network.&nbsp; You can't do this with dynamic IP addresses,
so
you have to give fixed addresses to all your machines anyway.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Unless you have a large or very frequently
changing
network you would be better off just to modify all your host files.&nbsp; Trust
me, configuring BIND is&nbsp;not trivial.&nbsp; I wouldn't&nbsp;consider it at
all if your Linux box isn't up 24/7, because all your nodes on your LAN must
point to this DNS server for both name sets (your LAN names and 'real' WAN
names) to be served and if the Linux box is ever down you are out of
business.&nbsp; In fact, once you do this, you will probably want to consider
setting up a secondary or backup DNS server against the case that your primary
server goes off line.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Once your IPs are fixed and your host files are
setup you'll be done and home free.&nbsp; Don't try the BIND approach without
first considering the cost/benefit ratio.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The real BIND home page:</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="http://www.isc.org/sw/bind/">http://www.isc.org/sw/bind/</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>and the FAQ there:</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="http://www.isc.org/sw/bind/FAQ.php">http://www.isc.org/sw/bind/FAQ.php</A
></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>BTW, if someone would like to volunteer how the
Windows boxes are getting the name info of the Linux box I would love to hear
it!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Greg</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000><FONT face=Arial><FONT size=2>--- on Thursday,
</FONT></FONT><FONT face="Times New Roman"><FONT size=3>jev phoenixresearch
info
wrote ---<!--StartFragment --></FONT></FONT></FONT></DIV>
<DIV><FONT color=#000000>&nbsp;<EM>From</EM>: Joshua E Vines &lt;jev
phoenixresearch info&gt;</DIV>
<DIV><EM>To</EM>: Shrike-list Digest &lt;shrike-list redhat com&gt;</DIV>
<DIV><EM>Subject</EM>: Re (8th): DNS lookup failure on Linksys router</DIV>
<DIV><EM>Date</EM>: Thu, 23 Dec 2004 12:26:11 -0500</DIV></FONT>
<DIV><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000>Who in their right minds would want to configure a
hosts file in a dynamic environment?! As I have said before, Linux is not
always
on (I don't always have the system powered up), which is why I&nbsp; can not
allow Linux to take over DNS for the network. I certanly don't need to
configure
the hosts file on the Windows computer if they are working fine with out it
(they can ping Linux by name). It is Linux that can not ping Windows by name.
This is what I would like to be able to do. Sence the router acts as a DHCP
server, I should be able to configure BIND to extract IP information from the
router as if it was an <I>ordinary </I>DHCP server. My question is: how do I
setup BIND to do this? Sence I will be using Shirke as an Oracle server (I know
,
Oracle was not tested on Shrike, but I have made it work in the past, and I
will
make it work again), I will mostlikely be changing to a fixed IP, but the rest
of the network will still be dynamic. There is no reason why I should have to
configure the hosts on Linux if the rest of the network can change. It would be
rediculous having to change the hosts everytime I wanted to ping someone. How
do
I setup/configure BIND? If possible, give instructions using
"redhat-configure-bind 1.9.0" instead of directly editing the config
files.</FONT>&nbsp; </DIV></BODY></HTML>

--
Shrike-list mailing list
Shrike-list@(protected)
https://www.redhat.com/mailman/listinfo/shrike-list