all groups > iis smtp nntp > october 2004 >
You're in the

iis smtp nntp

group:

SMTP on XP pro only sends one DNS request


SMTP on XP pro only sends one DNS request David D
10/22/2004 9:30:22 AM
iis smtp nntp:
I have an application using the SMTP services.
My application deploys onto Windows XP embedded which is basically XP pro.
I have some problems when the SMTP server will send a request to the DNS
server to resolve a URL.
The problem is that if the DNS does not respond on the first try, it will
give up.
The request is UDP so it should retry.
When I do a test using the browser and the DNS request does not get a
response, it retries in about 1 second if no response is given.
I would expect the DNS client to react in the same way for an HTTP as well
as SMTP but it does not seem to do so.
I am debugging this by sniffing the ethernet line.

Re: SMTP on XP pro only sends one DNS request Bernard
10/25/2004 11:49:11 AM
AFAIK, IIS5.1 and below uses TCP 53 for DNS MX queries.

--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



[quoted text, click to view]

Re: SMTP on XP pro only sends one DNS request David D
10/26/2004 6:18:23 PM
Thanks,
But what should that tell me?
[quoted text, click to view]

Re: SMTP on XP pro only sends one DNS request Bernard
10/27/2004 3:39:47 PM
Errr. smtp will retry - just ensure it able to resolve Mx records via tcp
port 53.

--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



[quoted text, click to view]

Re: SMTP on XP pro only sends one DNS request David D
10/28/2004 4:37:59 PM
Not sure I understand how I do that?
I do not have any ports blocked outbound.
I am using the XP firewall but do not have anythings specifically targeted
to 53.
My problem is that sometimes I get a UDP response and sometimes I do not
from the DNS server.
I always see the DNS request in UDP.
If I browse from IE6 sometimes my UDP request to the DNS for the Mx records
does not get a response and then XP will send the request again after a 1
second time out. SMTP will not retry.
Is there a setting some where or registry entry I need to look at?
[quoted text, click to view]

Re: SMTP on XP pro only sends one DNS request Bernard
10/29/2004 12:14:57 PM
Ok, in terms of IE and other app. I'm not too sure. Since we are talking
about smtp, that's how it will behave.
what is the problem you having with smtp ? mail stuck in queue ? badmail
folder ?

Get smtpdiag - read my blog on troubleshooting smtp.
http://msmvps.com/bernard/archive/2004/09/28/14480.aspx

--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



[quoted text, click to view]

Re: SMTP on XP pro only sends one DNS request David D
11/2/2004 5:15:24 PM
It will not send mail and seems to not retry even after the default 15
minute retry time.

Someone mentioned that smtp does not use the normal DNS lookup routines like
IE does.
I heard that this was a bug and that it is fixed in server 2003 but not XP
SP2.

David
[quoted text, click to view]

Re: SMTP on XP pro only sends one DNS request Bernard
11/3/2004 10:41:42 AM
I have not heard about this before.
have you try the smtpdiag ? so it all works, just that iis smtp doesn't
retry ?
how do you verifty that?

--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



[quoted text, click to view]

Re: SMTP on XP pro only sends one DNS request David D
11/4/2004 5:09:38 PM
I used Ethereal sniffer: Here is a sample:
1&2 is the ARP to get the DNS ip
3 is the DNS query
DNS does not respond in this case.
I have sniff logs of it working though. The DNS responding is intermittant.
I would expect XP to retry but it does not.
No. Time Source Destination Protocol
Info
1 0.000000 192.168.2.102 Broadcast ARP Who
has 192.168.2.1? Tell 192.168.2.102
2 0.000186 192.168.2.1 192.168.2.102 ARP
192.168.2.1 is at 00:04:e2:76:81:bc
3 0.000188 192.168.2.102 192.168.2.1 DNS
Standard query MX unitecelectronics.com
4 1.375739 192.168.2.100 Broadcast ARP Who
has 192.168.2.1? Tell 192.168.2.100
5 1.376059 192.168.2.1 192.168.2.100 ARP
192.168.2.1 is at 00:04:e2:76:81:bc
6 1.376067 192.168.2.100 192.168.2.1 DNS
Standard query PTR 1.2.168.192.in-addr.arpa
7 1.475365 192.168.2.1 192.168.2.100 DNS
Standard query response PTR <Root>
8 2.126669 192.168.2.100 192.168.2.1 DNS
Standard query PTR 100.2.168.192.in-addr.arpa
9 2.126859 192.168.2.100 192.168.2.1 DNS
Standard query A <Root>
10 2.130967 192.168.2.1 192.168.2.100 DNS
Standard query response, Server failure
11 2.163838 192.168.2.1 192.168.2.100 DNS
Standard query response, No such name
12 3.628811 192.168.2.100 192.168.2.1 DNS
Standard query PTR 102.2.168.192.in-addr.arpa
13 3.763168 192.168.2.1 192.168.2.100 DNS
Standard query response, No such name
14 8.421496 192.168.2.102 192.168.2.255 BROWSER
Local Master Announcement PORTAL, Workstation, Server, NT Workstation,
Potential Browser, Master Browser
15 74.199164 192.168.2.102 192.168.2.255 BROWSER
Local Master Announcement PORTAL, Workstation, Server, Dialin Server, NT
Workstation, Potential Browser, Master Browser
16 74.259067 192.168.2.102 239.255.2.2 UDP
Source port: 3018 Destination port: 9753
17 79.520544 192.168.2.102 192.168.2.255 BROWSER
Local Master Announcement PORTAL, Workstation, Server, NT Workstation,
Potential Browser, Master Browser
18 90.927413 192.168.2.102 192.168.2.255 BROWSER Get
Backup List Request
19 90.927511 192.168.2.102 192.168.2.255 NBNS
Name query NB UNITEC<1b>
20 91.677126 192.168.2.102 192.168.2.255 NBNS
Name query NB UNITEC<1b>
21 92.428280 192.168.2.102 192.168.2.255 NBNS
Name query NB UNITEC<1b>
22 95.182601 192.168.2.102 192.168.2.255 BROWSER Get
Backup List Request
23 95.182700 192.168.2.102 192.168.2.255 NBNS
Name query NB UNITEC<1b>
24 95.933735 192.168.2.102 192.168.2.255 NBNS
Name query NB UNITEC<1b>
25 96.684907 192.168.2.102 192.168.2.255 NBNS
Name query NB UNITEC<1b>
26 99.439476 192.168.2.102 192.168.2.255 BROWSER Get
Backup List Request
27 99.439572 192.168.2.102 192.168.2.255 NBNS
Name query NB UNITEC<1b>
28 100.190353 192.168.2.102 192.168.2.255 NBNS
Name query NB UNITEC<1b>
29 100.941533 192.168.2.102 192.168.2.255 NBNS
Name query NB UNITEC<1b>
30 103.695862 192.168.2.102 192.168.2.255 BROWSER
Browser Election Request
31 160.291891 192.168.2.102 192.168.2.255 BROWSER
Local Master Announcement PORTAL, Workstation, Server, Dialin Server, NT
Workstation, Potential Browser, Master Browser
32 160.371042 192.168.2.102 239.255.2.2 UDP
Source port: 3021 Destination port: 9753
33 212.636098 192.168.2.102 192.168.2.255 BROWSER
Domain/Workgroup Announcement UNITEC, NT Workstation, Domain Enum
34 222.514658 192.168.2.102 192.168.2.255 BROWSER
Local Master Announcement PORTAL, Workstation, Server, NT Workstation,
Potential Browser, Master Browser
35 241.513490 192.168.2.100 192.168.2.255 NBNS
Name query NB PORTAL<00>
36 241.513805 192.168.2.102 Broadcast ARP Who
has 192.168.2.100? Tell 192.168.2.102
37 241.513820 192.168.2.100 192.168.2.102 ARP
192.168.2.100 is at 00:04:5a:56:0a:cc
38 241.513897 192.168.2.102 192.168.2.100 NBNS
Name query response NB 192.168.2.102
[quoted text, click to view]
Re: SMTP on XP pro only sends one DNS request Bernard
11/5/2004 12:50:45 PM
Interesting. now - it just stuck there forever ?
[quoted text, click to view]
so this is one... so after 15mins also no retry ?
what about capture a longer time frame say 1hr ? same things ?

--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



[quoted text, click to view]
AddThis Social Bookmark Button