Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-31-2004, 09:46 PM   #1
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,076
Blog Entries: 1

Rep: Reputation: 90
Question DNS related problem

Hello, guys.

I'm having DNS related problems with my applications (and it didn't happen before).

This is my /etc/resolve.conf file:

When I start my system, I'm not connected to the internet. I make connections through kppp. Once I log in to the internet, my /etc/resolv.conf file changes, reflecting my ISPs dns servers.

What I have noticed is that applications that were opened BEFORE I get connected, keep asking the "OLD" server (localhost) for domain names... and by the way, my box is not a dns server.... so, they don't work at all. I have to close them and restart them.

It happens with: setiathome, squid, korn, etc, etc, etc.

What I have noticed is that this message is printed on one console:
gethostbyname: Resource temporarily unavailable
not once, but many times.... i think it's related to setiathome, it's printed once per hour per setiathome process.

What do u think?

Would appreciate any help provided.

Oh, I forgot to mention I use Mandrake 9.2 gpl version on a Dell Laptop.

Last edited by eantoranz; 03-31-2004 at 09:48 PM.
Old 03-31-2004, 10:29 PM   #2
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
Is there any reason why you do not have your ISP's dns in there instead of the if you put all the names your machine is known by in your /etc/hosts then you would only need dns when you are on the net and your /etc/resolv.conf would not need to change and you programs would keep the right dns servers listed.
Old 04-01-2004, 01:47 AM   #3
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
well i do suggest you to put the primary and seconday DNS of your ISP in resolv.conf

and command the entry

nameserver IP primary
nameserver IP secondary
Old 04-01-2004, 06:23 AM   #4
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,076
Blog Entries: 1

Original Poster
Rep: Reputation: 90
Well, guys... in this case we have a nearsight problem (from my side). The solution you provide certainly should have been seen by me.

I appreciate your help very much.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some queries related to DNS(bind) coolamit78 Linux - Networking 1 12-19-2003 04:05 AM
DNS related question tusher Linux - Newbie 1 12-07-2003 02:03 PM
DNS related question tusher Linux - Networking 1 12-01-2003 10:15 AM
weird DNS related (?) issue bobcat Linux - Networking 1 06-10-2002 09:08 PM
question - DNS related rewt Linux - General 2 09-14-2001 11:19 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration