all groups > iis smtp nntp > january 2008 >
You're in the

iis smtp nntp

group:

Some problems with IIS 5 on w2k - dns error


Some problems with IIS 5 on w2k - dns error Ralph A. Schmid, dk5ras
1/3/2008 9:09:20 AM
iis smtp nntp:
Hi,

I have some strange effects with a smtp server of the IIS 5 sort, on a
w2k server system, behind a NAT. It should take the emails and deliver
them to a smarthost, but in most times this fails, the mail keeps in
the queue, and the eventlog tells me (when sending an email for
example to ras@invalid.invalid):

"Message delivery to the remote domain invalid.invalid failed for the
following reason: An internal DNS error caused a failure to find the
remote server"
Data (words): 0xc00402e7

Sometimes for no obvious reason it works.

The server is configured to try no direct delivery, so why does it
want to resolve the receivers domain name, when it should use an
external smarthost?!

Internet connectivity works on the server without any problems.
Nslookup on this machine gives the expected results.

So do I miss something? Some setting? Any additional services
necessary, that I did not set up, or what else am I doing wrong?

Any help is highly appreciated!



Ralph.

Re: Some problems with IIS 5 on w2k - dns error Sanford Whiteman
1/3/2008 1:16:53 PM
[quoted text, click to view]

Is your smarthost entered using a square-bracketed IP, i.e. [1.2.3.4] ?

--Sandy



------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.
Re: Some problems with IIS 5 on w2k - dns error Ralph A. Schmid, dk5ras
1/4/2008 10:06:37 AM
"Sanford Whiteman" <swhitemanlistens-software@cypressintegrated.com>
[quoted text, click to view]

No, it uses a domain name that is resolved. At the moment (after
installing the DNS server) it works; but why does it need a DNS on the
local machine, and not simply use the supplied DNS?



Ralph.

Re: Some problems with IIS 5 on w2k - dns error Sanford Whiteman
1/4/2008 11:58:33 AM
[quoted text, click to view]

[The error that you're seeing refers to the smarthost's A record,
BTW.]

A typical and stable config certainly does not _need_ to have a local
DNS server: lookup of the smarthost's A record can happen over the
wire. You can also use a HOSTS entry or the square-bracketed IP
(though these options mean that you will not be aware of IP changes
from your smarthosting provider).

However, using a remote DNS server across your WAN link -- if that's
what you're doing -- does mean that you are reinjecting latency and
overhead into a setup which is designed to take load _off_ your box.
Depending on your daily mail traffic and client DNS cache, you could
be sending quite a bit of surplus traffic over the wire. In and of
itself, a constant stream of DNS traffic won't cause any problems; but
an increased load means that line errors, firewall/router UDP
processing errors, remote DNS server quotas and stability, etc. will
be more likely to affect you. I don't know which provider's doing your
smarthosting and/or DNS, but I only use smarthosting if forced and
never rely on an ISP's DNS server over my own.

Even if your DNS server was formerly on a different box on your LAN
(rather than across the WAN), same theory holds. SMTP server is using
the same DNS lookups, just against a box that it can reach without
error. You can't trust one-off NSLOOKUPs to tell you how dirty the
connection is; need a sniffer trace for that.

--Sandy




------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.
Re: Some problems with IIS 5 on w2k - dns error Ralph A. Schmid, dk5ras
1/6/2008 12:32:24 PM
"Sanford Whiteman" <swhitemanlistens-software@cypressintegrated.com>
[quoted text, click to view]

Yes, it is...

[quoted text, click to view]

I suspected smth. like that. At the moment the local DNS service on
the machine does no harm, and the mail traffic is not very high, so I
will live with it for now. Anyway, will have a look with wireshark at
the next bigger maintenance run, to find out what exactly is
happening.



Ralph.

AddThis Social Bookmark Button