LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Is TCP/IP enabled by default? (https://www.linuxquestions.org/questions/linux-newbie-8/is-tcp-ip-enabled-by-default-4175499180/)

AlexBB 03-23-2014 10:52 AM

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

rknichols 03-23-2014 11:02 AM

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.

AlexBB 03-23-2014 11:47 AM

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

rknichols 03-23-2014 01:20 PM

Quote:

Originally Posted by AlexBB (Post 5139849)
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.

AlexBB 03-23-2014 08:56 PM

Thank you, - Alex


All times are GMT -5. The time now is 05:10 AM.