Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7816333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T05:49:52+00:00 2026-06-02T05:49:52+00:00

Can anyone tell me how to programmatically retrieve the cname and mx records from

  • 0

Can anyone tell me how to programmatically retrieve the cname and mx records from an internet domain(www.example.com) using c#?
According to my short research, I understand it’s possible by using UDP socket probe to the DNS server, BUT, is it possible to achieve that without knowing the DNS server address, only the domain name like “www.example.com”?
I think it’s possible because I’ve been using some 3rd-party free toolkit to get MX records successfully, without knowing the DNS server address.

Thx a lot

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T05:49:54+00:00Added an answer on June 2, 2026 at 5:49 am

    I haven’t tried the libraries mentioned above, but the I would consider using services instead of libraries. I don’t know what’s the desired use-case, but you can deliver this functionality even on asp.net web application, cross-platform mobile application or mobile website.

    1. Look for online DNS tools (such as DNSWatch), which returns the necessary domain info by URL parameters.
    2. Check the HTML stucture of the result page

    You can process this HTML, but Yahoo can do is dirty job for you using YQL html processor and return the relevant part in XML or JSON.

    1. Visit YQL Console
    2. Fill the SQL Statement textarea with the following:
      select * from html where url=”YOUR PARAMETRIC DNS URL” and
      xpath=’XPATH QUERY TO ACCESS NS OR MX RECORD IN THE RESULT HTML’
    3. Test your YQL Statement in the console
    4. Develop a single client application, which executes the YQL statement via HTTP request. You can take hints from this YQL JavaScript tutorial.

    Pros:
    -your application can be very lightweight
    Cons:
    -the HTML structure of the result page can be changed or DNSWatch can refuse your request after over-using resources.

    Nevertheless you can implement the working prototype in 1 hour.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

can anyone tell me how I programmatically retrieve the actual Locale and/or Language in
Can anyone tell me why this isn't working for me? Example page here http://totalcommunitycollegemove.com/post-438.html
Can anyone tell me how to hide the header in DevExpress gridcontrol..?? I'm using
Can anyone tell me what the need/advantage is to using a web service with
Can anyone tell me how to execute a .bat file from a PHP script?
Does anyone know how when programmatically iterating through a word document, you can tell
Can anyone tell me how Magento creates dynamic functions? For example for product info,
Can anyone tell me what is the fastest way to programmatically convert a SAS
can anyone tell me how to extract images from a video? what i ve
can anyone tell me how can I (programatically) add the current/selected user to a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.