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. Re: Re: DNS lookup failure on Linksys router

Re. Re: Re: DNS lookup failure on Linksys router

2004-12-20       - By Joshua E Vines

 Back
Reply:     1     2     3  


> Date: Sun, 19 Dec 2004 14:06:23 -0600 From: Randy Kelsoe
> <randykel@(protected)> Subject: Re: DNS lookup failure on Linksys
> router To: "Discussion of Red Hat Linux 9 (Shrike)"
> <shrike-list@(protected)> Message-ID: <41C5DF3F.5060904@(protected)>
> Content-Type: text/plain; charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1; format=flowed
>
>This is a problem. I don't know of any Linksys router that acts as a DNS
server. When you setup your router, there is a place to put your ISP's DNS
servers, and another place so that the DHCP server in the router can relay the
DNS server info to DHCP clients. For your local net, add the 3(?) ( you have
phoenix1 listed twice above) machines to your hosts file on the Windows
machines as well as the linux machine. In your /etc/resolv.conf, add your ISP's
DNS server entries. Your other alternative is to configure DNS on you linux
machine and use that as your primary DNS server, and your ISP's DNS servers as
secondary.
>  
>
It does act as DNS for my Windows machines. They have the router set as
the only DNS.

>Do you really have 2 machines named phoenix1?
>  
>
You must not be able to tell the difference between a 1 (one) and an l
(lowercase L), sorry.

>man dos2unix and unix2dos
>  
>
I will use this a lot, thanks.

>Date: Sun, 19 Dec 2004 12:40:35 -0800 (PST)
>From: "Steven J. Yellin" <yellin@(protected)>
>Subject: Re: Re: DNS lookup failure on Linksys router
>To: "Discussion of Red Hat Linux 9 (Shrike)" <shrike-list@(protected)>
>Message-ID:
>   <Pine.GSO.4.58.0412191238170.1673@(protected)>
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>
>    Since phoenix1 and phoenix2 can ping phoenixl by name (bad policy to use
the difference between "1" and "l" as the only difference between names) I
guess you have a router which runs a DNS and knows that phoenixl has IP 192.168
.1.105.  I assume the router knows about phoenix1 and phoenix2, too.  Can
phoenix1 ping phoenix2 by name?  If so, I don't  know why the router refuses to
tell phoenixl the IP's of phoenix1 and  phoenix2. Maybe someone else can help.
But another way of supplying phoenixl with the relationship between IP and name
is to add appropriate lines in /etc/hosts for phoenix1 and phoenix2.
>    Speaking of /etc/hosts, you may be better off removing the line
>192.168.1.105   phoenixl
>and replacing the first line
> 127.0.0.1      localhost.localdomain   localhost lo
>with
> 127.0.0.1      localhost.localdomain   localhost phoenix1
>so that your computer knows localhost is the same as phoenixl.  That way
>it won't matter to phoenixl what IP it gets assigned, and "hostname -f",
>"hostname -i", ... may stop complaining about "Host name lookup failure".
>
All Windows machines can ping each other by name. The point made by
listing phoenixl (L) in the hosts file is that if I listed each computer
in the hosts file, my problems would go away. For some reason (I know
not what) Windows networking (including accessing the Internet) will not
work if I disable DHCP in the router and go completely manual with the
IP assignments.


If the router serves as DNS to Windows, why not Linux?

-

* * * * * * * * * * * * * * *
Joshua E Vines
jev@(protected)


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
 <meta content="text/html;charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1" http-equiv="Content-Type">
 <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote type="cite">
 <div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
 <pre wrap=""><div class="moz-txt-sig">Date: Sun, 19 Dec 2004 14:06:23 -0600
From: Randy Kelsoe <a class="moz-txt-link-rfc2396E"
href="mailto:randykel@(protected)">&lt;randykel@(protected)&gt;</a>
Subject: Re: DNS lookup failure on Linksys router
To: "Discussion of Red Hat Linux 9 (Shrike)" <a
class="moz-txt-link-rfc2396E" href="mailto:shrike-list@(protected)">&lt;shrike
-list@(protected)&gt;</a>
Message-ID: <a class="moz-txt-link-rfc2396E"
href="mailto:41C5DF3F.5060904@(protected)">&lt;41C5DF3F.5060904@(protected)&gt;<
/a>
Content-Type: text/plain; charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1; format=flowed
</div></pre>
 <pre wrap="">
This is a problem. I don't know of any Linksys router that acts as a DNS server
. When you setup your router, there is a place to put your ISP's DNS servers,
and another place so that the DHCP server in the router can relay the DNS
server info to DHCP clients. For your local net, add the 3(?) ( you have
phoenix1 listed twice above) machines to your hosts file on the Windows
machines as well as the linux machine. In your /etc/resolv.conf, add your ISP's
DNS server entries. Your other alternative is to configure DNS on you linux
machine and use that as your primary DNS server, and your ISP's DNS servers as
secondary.
 </pre>
 </div>
</blockquote>
It does act as DNS for my Windows machines. They have the router set as
the only DNS.<br>
<blockquote type="cite">
 <div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
 <pre wrap="">Do you really have 2 machines named phoenix1?
 </pre>
 </div>
</blockquote>
You must not be able to tell the difference between a 1 (one) and an l
(lowercase L), sorry.<br>
<blockquote type="cite">
 <div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
 <pre wrap="">man dos2unix and unix2dos
 </pre>
 </div>
</blockquote>
I will use this a lot, thanks.<br>
<br>
<blockquote type="cite">
 <div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
 <pre wrap="">Date: Sun, 19 Dec 2004 12:40:35 -0800 (PST)
From: "Steven J. Yellin" <a class="moz-txt-link-rfc2396E"
href="mailto:yellin@(protected)">&lt;yellin@(protected)&gt;</a>
Subject: Re: Re: DNS lookup failure on Linksys router
To: "Discussion of Red Hat Linux 9 (Shrike)" <a
class="moz-txt-link-rfc2396E" href="mailto:shrike-list@(protected)">&lt;shrike
-list@(protected)&gt;</a>
Message-ID:
  <a class="moz-txt-link-rfc2396E"
href="mailto:Pine.GSO.4.58.0412191238170.1673@(protected)">&lt
;Pine.GSO.4.58.0412191238170.1673@(protected)&gt;</a>
Content-Type: TEXT/PLAIN; charset=US-ASCII

   Since phoenix1 and phoenix2 can ping phoenixl by name (bad policy to use
the difference between "1" and "l" as the only difference between names) I
guess you have a router which runs a DNS and knows that phoenixl has IP 192.168
.1.105.  I assume the router knows about phoenix1 and phoenix2, too.  Can
phoenix1 ping phoenix2 by name?  If so, I don't  know why the router refuses to
tell phoenixl the IP's of phoenix1 and  phoenix2. Maybe someone else can help.
But another way of supplying phoenixl with the relationship between IP and name
is to add appropriate lines in /etc/hosts for phoenix1 and phoenix2.
   Speaking of /etc/hosts, you may be better off removing the line
192.168.1.105   phoenixl
and replacing the first line
127.0.0.1      localhost.localdomain   localhost lo
with
127.0.0.1      localhost.localdomain   localhost phoenix1
so that your computer knows localhost is the same as phoenixl.  That way
it won't matter to phoenixl what IP it gets assigned, and "hostname -f",
"hostname -i", ... may stop complaining about "Host name lookup failure".</pre>
 </div>
</blockquote>
All Windows machines can ping each other by name. The point made by
listing phoenixl (L) in the hosts file is that if I listed each
computer in the hosts file, my problems would go away. For some reason
(I know not what) Windows networking (including accessing the Internet)
will not work if I disable DHCP in the router and go completely manual
with the IP assignments.<br>
<br>
<br>
If the router serves as DNS to Windows, why not Linux?<br>
<pre class="moz-signature" cols="72">-

* * * * * * * * * * * * * * *
Joshua E Vines
<a class="moz-txt-link-abbreviated" href="mailto:jev@(protected)">jev
@(protected)</a></pre>
</body>
</html>

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