Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Original Poster
Rep: Reputation: 67

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

Rep: Reputation: Disabled
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:
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;.
Now, after /etc/init.d/networking restart there is a required nameserver in /etc/resolv.conf appears automatically.


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 09:17 AM
cannot resolve hostnames ussblade Slackware 5 02-13-2008 09:07 PM
BIND doesn't resolve hostnames information for which is stored on other DNS servers GD_19 Linux - Networking 5 01-03-2006 09:31 PM
Cannot resolve hostnames BobBuchanan Linux - Networking 1 02-12-2005 06:56 PM
Can't resolve hostnames....need help shaggystyle Linux - Networking 2 08-28-2004 03:20 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:11 PM.

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