LinuxQuestions.org
Review your favorite Linux distribution.
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 09-23-2008, 07:38 AM   #1
Junior_DBA
LQ Newbie
 
Registered: Aug 2008
Posts: 25

Rep: Reputation: 15
Smile dns question


Hi all. I am a linux newbie in the third generation. I need help. I have a netowrk. and i can connect from server myserver to notmine1, notmine2.. etc.

root@myserver > ssh notmine1

How can I see all possible server names wich are in my dns?


Thanks in advance.
 
Old 09-23-2008, 07:41 AM   #2
arckane
Member
 
Registered: Sep 2005
Location: UK
Distribution: Gentoo/Debian/Ubuntu
Posts: 308

Rep: Reputation: 39
cat /etc/resolv.conf
 
Old 09-23-2008, 07:58 AM   #3
Junior_DBA
LQ Newbie
 
Registered: Aug 2008
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks. But i have there:
search caca-cola.in

how can i list dns names from coca-cola.in?
 
Old 09-23-2008, 08:13 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
The typical resolv.conf entry might look like this:
search myhome.westell.com
nameserver 192.168.1.1
nameserver 192.168.1.1

In my case, this gets generated automatically when connecting with dhcp.

Tell us more about your network setup, how you connect to the internet, and what problem you are trying to solve.

<<Just did an experiment: I commented out the "search" line, leaving only the nameserver. DNS still seems to work fine. I'm not clear on what the search line is for.....>>
 
  


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
DNS question ec3042 Linux - Networking 1 12-24-2005 04:18 AM
DNS question jamrock Linux - Networking 2 05-15-2003 11:05 PM
DNS Question phil1076 Linux - General 3 12-14-2001 09:11 AM
dns question -- new to dns gadhiraju Linux - Networking 7 05-09-2001 05:59 PM
dns question -- new to dns gadhiraju Linux - General 2 05-09-2001 07:44 AM

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

All times are GMT -5. The time now is 02:25 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