LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-04-2011, 11:43 PM   #1
ubuntunewby
LQ Newbie
 
Registered: Jun 2011
Posts: 10

Rep: Reputation: Disabled
Question Tcp/ip


ok everyone, this is all new to me. I trying to do a few things with TCP-IP protocol


How do I find my dns domain name my computer

And what the hell is "dig"

any good websites would really be great!
 
Old 07-05-2011, 12:03 AM   #2
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

Rep: Reputation: 135Reputation: 135
What OS do you use ?

dig is DNS lookup utility in which you can query a dns server.

use
Quote:
man dig
Use Google and Wikipedia for details about Domain Name System.
 
Old 07-05-2011, 08:39 AM   #3
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
first few things to look at:
Code:
cat /etc/resolv.conf
this will tell you the IP address of your dns server (can be static, or come from your dhcp server, or be set in NetworkManager.

Code:
dnsdomainname
will tell you your dns domain name

Code:
nslookup www.google.com
will do a dns lokkup, and tell you the IP of www.google.com

Code:
cat /etc/nsswitch.conf
Will tell you if /etc/hosts takes precedence over dns service, etc ...

Last one: dnsmasq is an easy to use dns server, it's as easy to setup as editing /etc/hosts. Use apt-get or yum to install it
 
Old 07-05-2011, 06:50 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,398

Rep: Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207
I assume you are not on a domain but talking about using linux on the internet you buy month to month. That should be a dns ip address entry.


dig or nslookup are similar tools if you suspect some issue with a properly assigned network. It won't help if you haven't put in all the correct entries.

I use my local routers IP address as the dns and put a secondary from the ones my ISP post on it's web pages or get it from windows's tools.

Last edited by jefro; 07-05-2011 at 06:52 PM.
 
  


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
Select YeAH-TCP like default TCP congestion control algorithm simonbcn Linux - Networking 0 01-20-2011 11:34 AM
slow tcp on 100mbps wan, strange tcp window behaviour on ubuntu 9.10 cputoaster Linux - Networking 2 03-10-2010 01:43 AM
slow tcp wan, strange tcp window behaviour on ubuntu 9.10 cputoaster Linux - Networking 0 03-09-2010 05:39 AM
Linux change TCP kernel Parameter for TCP DELAY ACK TICKS linux_mando Linux - Networking 5 08-22-2006 09:20 AM
Woody 3.0 Open Ports 1470/tcp/uaiact 1518/tcp/vpvd What for?How can I remove them? alexxxis Debian 5 07-05-2004 06:18 PM


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