  | | | Re (8th): DNS lookup failure on Linksys router | Re (8th): DNS lookup failure on Linksys router 2004-12-23 - By Gregory L. Hering
Back 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> </DIV> <DIV><FONT color=#000000><FONT face=Arial><FONT size=2>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.</FONT></FONT></FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV> <DIV><FONT color=#000000><FONT face=Arial><FONT size=2>BIND (i.e. named) is a DNS server. It takes requests for a name-to-IP translation and returns an IP address. </FONT></FONT></FONT></DIV> <DIV><FONT color=#000000><FONT face=Arial><FONT size=2></FONT></FONT></FONT> </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 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.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>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.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </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. 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.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </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. Don't try the BIND approach without first considering the cost/benefit ratio.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2></FONT> </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> </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> </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> </DIV> <DIV><FONT face=Arial size=2>Thanks,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Greg</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2></FONT> </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> <EM>From</EM>: Joshua E Vines <jev phoenixresearch info></DIV> <DIV><EM>To</EM>: Shrike-list Digest <shrike-list redhat com></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> </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 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> </DIV></BODY></HTML>
-- Shrike-list mailing list Shrike-list@(protected) https://www.redhat.com/mailman/listinfo/shrike-list
|
|
 |