Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have spent the last few hours trying ot find the answer to this one. I just build a new linux box using LFS as a base. It is on my network and can ping by IP address just fine. Also if I put the site I want into my hosts file I can get to it without a problem. However if I don't have it in my hosts file and I try to ping or otherwise use a site by domain name it fails with uknown host. I have used nslookup server and got the following:
Default server: 127.0.0.1
Address: 127.0.0.1
I know this is where my problem is but I can't seem to fix it. I have the correct dns entries in my resolve.conf file
my nsswitch.conf has:
hosts: files dns
What else would be helpful to figure this out or please give me a solution. All my other machines (Mepis based) are working perfectly.
you picked up on it. Thanks. my resolv.conf file was named resolve.conf. once I renamed it everything worked. Guess 3 days of working on this machine made my eyes tired. Thanks again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.