LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-21-2006, 11:38 PM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
Dns


I am using Fedora 4. Whenever I go onto internet with my laptop everything is fine,Name to IP translation. When trying to ping a domain name from xterm it cannot. My resolv.conf is reflecting the IP address of my server on my LAN. When I modify my resolv.conf and put in the DNS server of my ISP everything works fine and I can also ping any domain name from xterm. What is wrong with my setup and how can I make my DNS entry on my laptop and server permanent and fix this issue?

Last edited by metallica1973; 04-21-2006 at 11:40 PM.
 
Old 04-21-2006, 11:50 PM   #2
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
You can get dhclient to do custom things as it creates your config. (I'm assuming Fedora uses dhclient and not one of the other DHCP clients.)

Edit /etc/dhclient.conf and change (or add) a line that starts with "prepend domain-name-servers". The rest of the line should list the ISP's DNS servers, that you want to make permanent.

My /etc/dhclient.conf looks like this:
Code:
prepend domain-name-servers 127.0.0.3;
and that's all.
 
Old 04-22-2006, 09:00 AM   #3
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
I cant find any reference to anything that say dhclient.conf under /etc.
 
Old 04-22-2006, 09:44 AM   #4
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
Quote:
Originally Posted by metallica1973
I cant find any reference to anything that say dhclient.conf under /etc.
Fedora uses turns out to use dhcpcd instead of dhclient. I have no idea how to configure it.
 
  


Reply


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
TEMP_FAILURE: DNS Error: Timeout while contacting DNS servers when receiving emails tonysutherland Linux - Networking 2 02-10-2006 09:04 AM
Suse DNS vs free DNS server for Newbie maxsanders Linux - Newbie 1 01-31-2006 04:57 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 01:48 PM
lame dns servers etc and general dns issues suse_linux9.1 Linux - Networking 3 06-01-2004 01:50 PM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:41 AM.

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