LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-16-2008, 08:33 AM   #16
theriddle
Member
 
Registered: Jun 2007
Distribution: Gentoo
Posts: 172

Rep: Reputation: 30

Quote:
Originally Posted by Omer Fadul View Post
you can use the following two commands:
nslookup "Enter"
server "Enter"

it will show you your name server.
beside dig is also a helpful tool.
Or just:
Code:
nslookup server
 
Old 05-17-2008, 01:34 PM   #17
Worksman
Member
 
Registered: Sep 2004
Location: Romania
Distribution: Ubuntu, Debian, Arch Linux, Gentoo, Slackware
Posts: 171
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by tmancill View Post
See the man page for hostname, specifically "hostname -f" should show you the FQDN. This should be a little more portable than looking at /etc/resolv.conf, in case you run into machines that NIS+.
Read the manual page for resolv.conf too, it helps to understand its syntax -> man resolv.conf
 
Old 05-19-2008, 05:53 PM   #18
mrdancemachine
LQ Newbie
 
Registered: May 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Thank you all for the help and much appreicated.
 
  


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
ip address using command line Ammad Linux - Networking 2 04-24-2007 06:12 PM
ps doesn't show the full command line OlRoy *BSD 2 01-29-2007 09:34 PM
How to get an IP Address from command line? Big Dog XII Linux - General 4 01-25-2007 11:54 AM
How is it done that making 2.6 kernel it doesn't display full command line? rsashok Linux - General 5 12-07-2006 01:30 PM
Command line Full Screen Acidprime Linux - Software 3 08-13-2003 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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