LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-23-2009, 10:13 AM   #1
invader44
Member
 
Registered: Dec 2008
Location: America
Distribution: Ubuntu 11.04
Posts: 64

Rep: Reputation: 15
dns setting


hey,

Running slackware 12.1 and looking at the resolv.conf, noticed that is says: search nameofserver
nameserver xxx.xxx.xxx
(the above is just an example)
When I usually change the DNS on servers I usally just put
nameserver xxx.xxx.xxx
nameserver xxx.xxx.xxx
like so. What does specifing search actually do? I usally take out that line.

Thanks,
vadder
 
Old 12-23-2009, 10:17 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by invader44 View Post
hey,

Running slackware 12.1 and looking at the resolv.conf, noticed that is says: search nameofserver
nameserver xxx.xxx.xxx
(the above is just an example)
When I usually change the DNS on servers I usally just put
nameserver xxx.xxx.xxx
nameserver xxx.xxx.xxx
like so. What does specifing search actually do? I usally take out that line.

Thanks,
vadder
there is a full explanation in the search section in

Code:
man resolv.conf
 
  


Reply



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
setting up dns man_msc Linux - Networking 1 08-04-2006 05:41 AM
setting up DNS sjpatel Linux - Networking 4 02-09-2006 02:51 PM
Setting up DNS Mneumonic Linux - Software 1 03-14-2003 04:15 PM
Setting UP DNS Ciccio Linux - Networking 1 12-11-2002 10:23 PM
setting up DNS deepak Linux - Networking 4 03-31-2001 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:31 PM.

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