Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 322
  • Last Modified:

Could we configure DNS to use TCP ?

I feel by default DNS uses UDP protocol on port 53. Could we configure it to let it use the TCP as well ? /etc/services shows it support both TCP and UDP.
bash-3.00# grep 53 /etc/services 
domain          53/udp
domain          53/tcp

Open in new window

0
beer9
Asked:
beer9
1 Solution
 
TintinCommented:
Depends what DNS server you are running.
0
 
beer9Author Commented:
What if I am using BIND, does is support both TCP and UDP by default? Thanks!
0
 
gheistCommented:
DNS over TCP is almost never used.
Any server out there supports DNS over TCP but no clients use that by default.
Since it is that rarely used I suspect more problems in there.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
jarrellCommented:
Generally TCP uses UDP for speed, but if the answer doesn't fit into a single udp packet, it'll switch to using TCP.  Which I've seen cause problems with some clients; we broke some software when our SPF record (which is in a TXT on the domain names RR) got too big, and we were doing TCP all of a sudden.
0
 
gheistCommented:
It depends on client. Some servers do send chain of UDP packets with huge record...
0
 
beer9Author Commented:
Thank you :-)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now