LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2011, 05:21 PM   #16
sneakyimp
Senior Member
 
Registered: Dec 2004
Posts: 1,005

Original Poster
Rep: Reputation: 67

thanks for the tip.
 
Old 02-02-2013, 05:47 AM   #17
Diversant
LQ Newbie
 
Registered: Feb 2013
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by sneakyimp View Post

I see there is a file /etc/dhcp/dhclient.conf which looks like the guilty file.

It has a lot of settings that have all been commented out, but the active ones are as follows:
Code:
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
send host-name "<hostname>";
request subnet-mask, broadcast-address, time-offset, routers,
        domain-name, domain-name-servers, domain-search, host-name,
        netbios-name-servers, netbios-scope, interface-mtu,
        rfc3442-classless-static-routes, ntp-servers;
This file does not contain any 'nohook' lines but my system is still working after a reboot. Would that nohook command belong in this file? Is it necessary.
Had the same issue. In /etc/dhcp/dhclient.conf uncommented prepend domain-name-servers line and appended it with 8.8.8.8;.
Now, after /etc/init.d/networking restart there is a required nameserver in /etc/resolv.conf appears automatically.
 
  


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
Unable to resolve hostnames (DNS) from LAN pc's > server > internet KeenAs Linux - Networking 12 01-10-2009 08:17 AM
cannot resolve hostnames ussblade Slackware 5 02-13-2008 08:07 PM
BIND doesn't resolve hostnames information for which is stored on other DNS servers GD_19 Linux - Networking 5 01-03-2006 08:31 PM
Cannot resolve hostnames BobBuchanan Linux - Networking 1 02-12-2005 05:56 PM
Can't resolve hostnames....need help shaggystyle Linux - Networking 2 08-28-2004 02:20 AM


All times are GMT -5. The time now is 07:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration