Re: DNS lookup failure on Linksys router

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joshua E Vines wrote:

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



^^^^^^^^^
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.



phoenix1 and phoenix2 can ping phoenixl by name. phoenixl can not ping phoenix1 and phoenix2 by name.


Do you really have 2 machines named phoenix1?


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?


man dos2unix and unix2dos

--
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux