[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.53.0406031316500.4020@mail.duckwall.net>
From: skip at duckwall.net (Skip Duckwall)
Subject: Strange TCP/IP DNS traffic
On Thu, 3 Jun 2004, Shachar Shemesh wrote:
> Hi all,
>
> A few days ago I started seeing outbound TCP connection on port 53,
> aimed at the .com NS servers. These were blocked by the firewall. I
> realize that this does not violate any RFC, but it's still unusual.
TCP is used for DNS when the size of the UDP response exceeds 512 bytes.
When this happens, the UDP response sets a truncated flag which tells the
resolver to connect via TCP to get the whole thing. The only time I've
seen this behavior in the last few years has been when sending mail to
large ISP/businesses when the results of a MX record query exceed 512
bytes. So blocking it outbound might result in E-mail not going through.
>
> The outbound traffic is not generated by the local bind installation,
> which was asked to bind to port 53 for outbound traffic. Also,
> /etc/resolv.conf lists 127.0.0.1 as the nameserver, so as far as I
> understand such traffic should not be initiated by user programs.
>
This just tells the machine that it should use localhost for name
resolution. Unless you have the world's biggest /etc/hosts file, you are
probably running some sort of name server (bind/named for example)
Alva Lease 'Skip' Duckwall IV
skip at duckwall dot net
CISSP, RHCE, SCSA
Powered by blists - more mailing lists