Re: Why does DNS.EXE listen on a ephemeral TCP port?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Kevin D. Goodknecht Sr. [MVP]" <admin@xxxxxxxxxxxxxx> wrote:

DNS listens on both UDP and TCP 53, but when a DNS server sends a query to
another server on port 53, the response comes back on an ephemeral port,
which DNS also listens on.

For UDP, I agree. But not for TCP. The status for the ephermeral port
from which a (client) machine originates a TCP connection should never be
listening. The listening status is reservered for the server. In this
case DNS is listening on a high TCP port and a client would have to connect
to it. I want to know in what case a client (another DNS server making a
query would be considered a client) would connect to my server on a TCP port
other that 53, and how does that client know to do so.

Thanks for your input!

Brian




.



Relevant Pages

  • Summary: Tcp/Udp port mapping (equivalent of firewall NAT)
    ... existing NIC port & bind the UPS software to this address. ... and anything else gets sent to the one listening ... a UPS software that makes use of Tcp 6003. ...
    (SunManagers)
  • Re: ipfw and nmap
    ... > even be correct but I have a bsd box that is simply providing me SSH ... add allow tcp from any to me 22 setup in via fxp0 keep-state ... Note too that there is nothing to prevent port scanners simply setting ... the 'SYN' flag in the probe packets they send to your server. ...
    (freebsd-questions)
  • Re: RealVNC
    ... Default listening port for RealVNC server that runs on the machine on which ... Then there is default Java listening port on port 5800 on the client machine ...
    (microsoft.public.windows.server.sbs)
  • Re: RealVNC
    ... I use VNC behind server ... Default listening port for RealVNC server that runs on the machine ... And then "other"party - not the client can run RealVNC Viewer in ...
    (microsoft.public.windows.server.sbs)
  • RE: Cannot make either RWW or Remote Desktop Connection to server internally yet 3389 responds
    ... SBS server from internal and external network. ... Let us refer to the following steps to troubleshoot the issue: ... to listen on port 3389. ... How to change the listening port for Remote Desktop ...
    (microsoft.public.windows.server.sbs)