code_junkie

MX Record Query fails

Nov 13th, 2011
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. string domain = "HomeTechnologySolutions.com";
  2. int num1 = DnsQuery(ref domain, QueryTypes.DNS_TYPE_MX, QueryOptions.DNS_QUERY_BYPASS_CACHE, 0, ref ptr1, 0);
  3. if (num1 != 0)
  4. {
  5. throw new Win32Exception(num1)
  6. }
  7.  
  8. > set type=mx
  9. > hometechnologysolutions.com
  10. Server: dhcp.removedtoprotectedtheguilty.com
  11. Address: 10.0.0.9
  12.  
  13. hometechnologysolutions.com
  14. primary name server = ns1.streetsimple.com
  15. responsible mail addr = hostmaster.streetsimple.com
  16. serial = 11
  17. refresh = 900 (15 mins)
  18. retry = 600 (10 mins)
  19. expire = 86400 (1 day)
  20. default TTL = 3600 (1 hour)
Add Comment
Please, Sign In to add comment