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 03-23-2014, 10:52 AM   #1
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

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, 11:02 AM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,776

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
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, 11:47 AM   #3
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

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, 01:20 PM   #4
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,776

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
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, 08:56 PM   #5
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

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


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

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

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