Results 1 to 9 of 9
I have been casually using Unix for about 20 years, but I've never really done anything beyond basic user things unless I had instructions/help.
I've set up an Ubuntu 10.04 ...
- 09-22-2010 #1Just Joined!
- Join Date
- Sep 2010
- Location
- Raleigh, NC
- Posts
- 7
Ubuntu not resolving local names
I have been casually using Unix for about 20 years, but I've never really done anything beyond basic user things unless I had instructions/help.
I've set up an Ubuntu 10.04 system and it works great except for one thing. It doesn't resolve local names.
I can ping or access other systems by IP Address and I can resolve internet names with no problems, but it won't recognize any of the other systems on my home network.
The system is set up for dhcp and everything is defaulted from the installation. There is no DNS suffix or domain set up on my router.
I'm sure this is a basic issue, but I just can't figure out what is wrong. Based on my googling, resolv.conf and interfaces look fine. Can anyone offer suggestions?
Thanks,
Rick
- 09-22-2010 #2
Simplest solution is not to use DHCP on your LAN and add other nodes to /etc/hosts file. Next simplest is to use DHCP but let server assign IP addresses by MAC addresses and use /etc/hosts.
- 09-22-2010 #3Just Joined!
- Join Date
- Sep 2010
- Location
- Raleigh, NC
- Posts
- 7
Segfault,
I will keep that in mind as a work around, but I'm hoping to understand what is causing the problem and learn something.
Rick
- 09-22-2010 #4
Well, I wouldn't call it problem. It is normal behavior.
- 09-22-2010 #5Just Joined!
- Join Date
- Sep 2010
- Location
- Raleigh, NC
- Posts
- 7
Oh.
I would have thought the DNS Server on the router would provide name service for the local hosts. Sorry, I know just enough about networking to be dangerous...
How do Windows systems provide name recognition and can I easily configure Linux to do the same thing?
Rick
- 09-22-2010 #6No dns server -> no dns resolution.Well, I wouldn't call it problem. It is normal behavior.
If that ubuntu 10.04 box is the only machine you operate, then Segfault´s advice of using /etc/hosts is good enough.
If you need the dns names network wide, then you need a dns server.
Your router may have such a functionality.
Some run "dnsmasq", which is a very basic name server.You must always face the curtain with a bow.
- 09-22-2010 #7
I didn't know home routers can have DNS servers, I was thinking caching is best they can do. Thanks for correction.
- 09-22-2010 #8
Windows uses what is called netbios
Wikipedia has a very good writeup of what it is
- 09-22-2010 #9Just Joined!
- Join Date
- Sep 2010
- Location
- Raleigh, NC
- Posts
- 7
I checked and Local DNS is not supported by my Router. I will user Segfault's suggestion of configuring DHCP to assign IPs based on MAC Address and setting up hosts files for the Lunix systems I'm playing with.
Thanks for the info everyone!


Reply With Quote