  | | | DNS lookup failure on Linksys router | DNS lookup failure on Linksys router 2004-12-19 - By Joshua E Vines
Back This is a SOHO network. ISP is Verizon. Two computers running WinXP, three running Win98. Router is 192.168.1.1 and has no name or domain. No domain has been asigned to this network by Verizon (dynamic IP address). For the sake of arguing, three computers on the network have the names: phoenix1 (WinXP), phoenix2 (Win98), and phoenixl (Shrike). Router serves as DNS for Windows (only one DNS entry set on the Windows machines).
'hosts' contains:
127.0.0.1 localhost.localdomain localhost lo 192.168.1.1 router 192.168.1.105 phoenixl #as assigned by the router's DHCP #(low DHCP traffic so it does not change)
Except for localhost, hosts on the Windows machines are blank. When phoenixl is not listed, hostname [-s|-a|-i|-f|-d|-y] (any of the options will do it) reports "Host name lookup failure". hostname without any options reports "phoenixl". On startup, X-Windows (not to be confused with Windows XP), complains of name resolution problems. When phoenixl is listed, hostname [-s|-a|-i|-f|-d|-y], reports "phoenixl" like it should. In either case, nslookup [/anyhostname/] reports ";; connection timed out; no servers could be reached".
'resolv.conf' contains: nameserver 192.168.1.1
'ifcfg-eth0' contains: DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes USERCTL=no PEERDNS=no TYPE=Ethernet DHCP_HOSTNAME=phoenixl
ifconfig -a reports: eth0 Link encap:Ethernet HWaddr /mac address/ inet addr:192.168.1.105 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:64 errors:0 dropped:0 overruns:0 frame:0 TX packets:80 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:10042 (9.8 Kb) TX bytes:7455 (7.2 Kb) Interrupt:5 Base address:0x7000
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:3593 errors:0 dropped:0 overruns:0 frame:0 TX packets:3593 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:244982 (239.2 Kb) TX bytes:244982 (239.2 Kb)
netstat -nr reports: Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
phoenix1 and phoenix2 can ping phoenixl by name. phoenixl can not ping phoenix1 and phoenix2 by name.
p.s.: do you know of a command or an otherwise short program to convert end-of-line characters (to go from Linux to DOS and back) in text files?
--
* * * * * * * * * * * * * * * 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"> This is a SOHO network. ISP is Verizon. Two computers running WinXP, three running Win98. Router is 192.168.1.1 and has no name or domain. No domain has been asigned to this network by Verizon (dynamic IP address).<br> For the sake of arguing, three computers on the network have the names: phoenix1 (WinXP), phoenix2 (Win98), and phoenixl (Shrike). <br> Router serves as DNS for Windows (only one DNS entry set on the Windows machines).<br> <br> 'hosts' contains:<br> <pre>127.0.0.1 localhost.localdomain localhost lo 192.168.1.1 router 192.168.1.105 phoenixl #as assigned by the router's DHCP #(low DHCP traffic so it does not change)</pre> Except for <tt>localhost</tt>, hosts on the Windows machines are blank.<br> When phoenixl is not listed, <tt>hostname [-s|-a|-i|-f|-d|-y]</tt> (any of the options will do it) reports "Host name lookup failure". <tt >hostname</tt> without any options reports "phoenixl". On startup, X-Windows (not to be confused with Windows XP), complains of name resolution problems.<br> When phoenixl is listed, <tt>hostname [-s|-a|-i|-f|-d|-y]</tt>, reports "phoenixl" like it should.<br> In either case, <tt>nslookup [<i>anyhostname</i>]</tt> reports ";; connection timed out; no servers could be reached".<br> <br> 'resolv.conf' contains:<br> <tt>nameserver 192.168.1.1</tt><br> <br> 'ifcfg-eth0' contains:<br> <tt>DEVICE=eth0<br> BOOTPROTO=dhcp<br> ONBOOT=yes<br> USERCTL=no<br> PEERDNS=no<br> TYPE=Ethernet<br> DHCP_HOSTNAME=phoenixl</tt><br> <br> <tt>ifconfig -a</tt> reports:<br> <tt>eth0 Link encap:Ethernet HWaddr <i>mac address</i> <br> inet addr:192.168.1.105 Bcast:192.168.1.255 Mask:255.255.255.0<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:64 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:80 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen :100 <br> RX bytes:10042 (9.8 Kb) TX bytes:7455 (7.2 Kb)<br> Interrupt:5 Base address :0x7000 <br> <br> lo Link encap:Local Loopback <br> inet addr:127.0.0.1  ; Mask:255.0.0.0<br> UP LOOPBACK RUNNING  ; MTU:16436 Metric:1<br> RX packets:3593 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:3593 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen :0 <br> RX bytes:244982 (239.2 Kb) TX bytes:244982 (239.2 Kb)</tt><br> <br> <tt>netstat -nr</tt> reports:<br> <tt>Kernel IP routing table<br> Destination Gateway Genmask Flags MSS Window irtt Iface<br> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0<br> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0<br> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo<br> 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0</tt><br> <br> phoenix1 and phoenix2 can ping phoenixl by name.<br> phoenixl can not ping phoenix1 and phoenix2 by name.<br> <br> p.s.: do you know of a command or an otherwise short program to convert end-of-line characters (to go from Linux to DOS and back) in text files?<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
|
|
 |