Importing DNS resources-Collection of common programming errors
OK I have more info.
I decided to go with my original hunch that WSP was not calling the SimpleDNS HTTP API directly, and I was right. I changed wireshark to monitor all traffic coming from the WSP server instead, and when I tried to enable DNS on a domain below is the TCP stream.
As you can see WSP is not using the SimpleDNS HTTP API url at all, it is using “http://smbsaas/websitepanel/server”.
This has not been set by me anywhere as we have no server called “smbsaas”, WSP is doing this internally.
POST /DnsServer.asmx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4959)
SOAPAction: “http://smbsaas/websitepanel/server/ZoneExists”
Host: 62.197.34.211:9003
Content-Type: multipart/related; type=”application/xop+xml”; boundary=–MIMEBoundary634456300445508750; start=””; start-info=”text/xml; charset=utf-8″
Content-Length: 7380
Expect: 100-continue
Connection: Keep-Alive
HTTP/1.1 100 Continue
—-MIMEBoundary634456300445508750
content-transfer-encoding: binary
content-id:
content-type: application/xop+xml; charset=utf-8; type=”text/xml; charset=utf-8″
http://smbsaas/websitepanel/server/ZoneExistsurn:uuid:e6dee438-f1fa-4ee7-8900-e91e1ef92e74http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymoushttp://62.197.34.211:9003/DnsServer.asmx2011-07-07T09:07:24Z2011-07-07T09:12:24Z08xvgy4JegoRxwtWEX+9WsQ==2011-07-07T09:07:24ZMA5mhXyZGSX5jskPnlFFAG6Zvtc=uGs+SbO/kdQWkYtHu8fmoBIuYCI=MVtQLRR+CzYq0YJSX9ir6rdg4/U=gip3D5XoFNnFqLrfC/pnv2D4EV4=YOHRtRP6mugwMiyMHdaO0uJkNw8=B/v/GAzQmJKP8+sZjvO5YWzFjao=P1DugNSMKll7PEaJB2CDaYCd8Jg=7HqZTRw/ww38l9JLpYMhJsro6mi/nNH/6jRQp/rQvkUIDAupRokl/TRBsNBuoRybBzMrjIwAd6FMmBpwnCNa6kLKrc2u+8rUcteLjN+hrTB0M2gyQCMq6JGaeUyRplVTzrdm+LXhd7l8CeqvlIUsDNKzIfyH8AZ8BC95oeat7Rk=
—-MIMEBoundary634456300445508750
content-transfer-encoding: binary
content-id:
content-type: application/octet-stream
z].?..N……….9.g.#.P..;I……..b.M.5……j…O..
.y..(+B\.Nt.K!….Uw….C..:I..$h0.#>d..he.. …’….R9….c.Ry.5Z..=..
..no….Y.=.KLb5Nz..Nc…..{..z5..B…J..r…. ………s…….Y….~..
..(…g..Q..0.e.]….i……G..t.]#O……C..rC`7z…dF.,..-.zKi0.}X…5._…P.Tr.Q….*L’.,.W…..|.vY..e..V
{9.|’U….0.j1..iI..;.(….C……X………7..R.Q.R
U..>&..U]..z..P….B….m……..hT.f…..Q..d…2|M.H…..[8..gy…o, ………..1……Vu=q..
…)….[…Q.a@…%..w…rN..%h……:.o!i|..m….r.2…../2YC….pO..F.hg……?*.`..(@o…RrCg|…..T{….S….%.3….jH.P…..!…..}h..7…v?t$……..l…g/….`m^^u……t…=4K..$.w.2.I..1…[.h..c.q>.Si. ….(:.Hx……..;.,………….Ds..c3Y………DG…\……p(……GN..`..?..h…B].#.s..-..”..1.~fc.}^….x….Y….N..8…~..}5….dL^.nS…r…c.e.W@/….!> ….M…q…D.0..|/…..;…8a.BT..Z_.R……W(5.~…..,e….d.]eg..[..65R\..Jk>+f.5%C.4@.]+t..1……-.:’~k.O.a0….’5Y=….\………lo…..^.#…X.s..[……P..h….)..nd….+…!.e..m..F.>e.1….cOx.m0……..OW…….1F..
—-MIMEBoundary634456300445508750–
HTTP/1.1 200 OK
Cache-Control: private, max-age=0
Content-Type: multipart/related; type=”application/xop+xml”; boundary=–MIMEBoundary634456299959597500; start=””; start-info=”text/xml; charset=utf-8″
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Thu, 07 Jul 2011 09:06:35 GMT
Content-Length: 1028
—-MIMEBoundary634456299959597500
content-transfer-encoding: binary
content-id:
content-type: application/xop+xml; charset=utf-8; type=”text/xml; charset=utf-8″
http://smbsaas/websitepanel/server/ZoneExistsResponseurn:uuid:3fb526c7-87c2-4ad5-8c93-252de1251347urn:uuid:e6dee438-f1fa-4ee7-8900-e91e1ef92e74http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymousfalse
—-MIMEBoundary634456299959597500–
POST /DnsServer.asmx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4959)
SOAPAction: “http://smbsaas/websitepanel/server/AddPrimaryZone”
Host: 62.197.34.211:9003
Content-Type: multipart/related; type=”application/xop+xml”; boundary=–MIMEBoundary634456300446290000; start=””; start-info=”text/xml; charset=utf-8″
Content-Length: 7428
Expect: 100-continue
HTTP/1.1 100 Continue
—-MIMEBoundary634456300446290000
content-transfer-encoding: binary
content-id:
content-type: application/xop+xml; charset=utf-8; type=”text/xml; charset=utf-8″
http://smbsaas/websitepanel/server/AddPrimaryZoneurn:uuid:d14b376a-11fc-40ff-8d13-200ea9fb1412http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymoushttp://62.197.34.211:9003/DnsServer.asmx2011-07-07T09:07:24Z2011-07-07T09:12:24Z0P8NqiO8L+lxIatW9LYLL7A==2011-07-07T09:07:24ZMEo5a1AMqmD2kK4npQwuHERvkAc=1AE56vc4lmwQ7rU9ZguMPuTZfwY=72GHwX+jtZHvscUy/1OBoOY3Z6k=rQJeGmKxlAqQWvJtArbiAojgdmQ=bMClOgI+Y1hw5BOOCfQQ/HTIcjE=FUjwJGQYDcDUCwx+/br2VvkE1x8=BKVW44c1RUJdPVOtVYB8t0S7Zf8=jVw2LAfeGpLCmYPwnTkkNUniIUvr/KMs5EVMDzFv+M0/6qom89TU97dNpIYOJKTg84ZRTSCGdwOmnxB0PebQNlmU6ECc7Z9mhZYAYoqw2ytf6cU3KkEP7DOb/T34S7HJDH5lO/TMbY/5iwn6IyIlvyLA2zBisUQiY/Sy+tj9UJKHD5JZm7/08LKZ7VUlNZwTsrtQzf1yFA4o/ZK1BCMvsg==
—-MIMEBoundary634456300446290000
content-transfer-encoding: binary
content-id:
content-type: application/octet-stream
f..f’..wl.#-..X..?.\..\6u..RZ…..JRm&*.(…N.L……=.v..b%K@>…Z…z..B….a{/p9.N..&.o…..