LinuxQuestions.org
Register a domain and help support LQ
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 03-23-2014, 11:52 AM   #1
AlexBB
Member
 
Registered: Mar 2014
Posts: 437

Rep: Reputation: Disabled
Is TCP/IP enabled by default?


My environment is: Windows 7==>Oracle Virtual Box==>Ubuntu 12.4.

I am reading the host command options. The manual says that host -T will enable TCP/IP mode. I am surprised. Isn't it a default? What are the consequences if I enabled it?

Thanks, - Alex
 
Old 03-23-2014, 12:02 PM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 3,140

Rep: Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349
It is just an option for how that particular running of that command makes its DNS queries. The default, for most query types, is to use UDP. The "-T" flag makes it use TCP for the query.
 
Old 03-23-2014, 12:47 PM   #3
AlexBB
Member
 
Registered: Mar 2014
Posts: 437

Original Poster
Rep: Reputation: Disabled
Then the question is: "Is it reversible?" If for some reason I found out the UDP is what the system wants can I get back to UDP or the system will check both protocols by default? Thanks, - Alex
 
Old 03-23-2014, 02:20 PM   #4
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 3,140

Rep: Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349
Quote:
Originally Posted by AlexBB View Post
Then the question is: "Is it reversible?" If for some reason I found out the UDP is what the system wants can I get back to UDP or the system will check both protocols by default?
As I said, it just affects that particular running of the command. It's like running "ls -l" vs. "ls". The next time you run the command, if you want that option you have to specify it again.
 
Old 03-23-2014, 09:56 PM   #5
AlexBB
Member
 
Registered: Mar 2014
Posts: 437

Original Poster
Rep: Reputation: Disabled
Thank you, - Alex
 
  


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
Why is CONFIG_MAGIC_SYSRQ enabled by default hubx Slackware 2 03-01-2011 08:04 AM
Select YeAH-TCP like default TCP congestion control algorithm simonbcn Linux - Networking 0 01-20-2011 11:34 AM
Which repos are enabled by default in FC...? Alexvader Fedora 5 11-26-2009 03:23 PM
Only US wireless channels enabled by default bstrik Linux - Wireless Networking 1 12-18-2008 06:33 PM
is QOS enabled by default in Mandrake 9.2? debloxie Mandriva 2 02-16-2004 01:50 PM


All times are GMT -5. The time now is 07:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration