473,799 Members | 2,934 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

domain name servers

2 New Member
Hi,

i need to check and retrive the mx records for a domain using asp .net , i am using .net 1.1 and prefer to use this framework version .

ok , i found that i should use DNS protocol to retrive various DNS records (A,MX,TXT,CNAME , etc), and here we need mx records. i found a third party library called QueryDNS to do dns queries.

the first thing we need in this scenario is a Dns Server to query , ok i used a whois website to retrive name servers for the domain and use name server ip address to query !

my problem here is : is there a programmeable way to retrive name servers for a domain ? does .net framework have such option or any free third party control ?

ok , i was thinking how IE finds name servers for a domain ? then there should be a way , i tested query a name server for domain "A" to retrive mx records for domain "B" !! yeah , it knows yahoo,google,ms n mx records but doesnt know all of domains , then it seems that i need name server for each domain . and with more research , yeah if i use dns server ip that i see in my ipconfig /all , it will give me right answers for all domains but it is a little slower than using the domain own name server .

is there anyway to get this name server address simply ?

and i am wonder how nslookup finds the right name server to query ?!!?
Mar 3 '09 #1
3 2169
Plater
7,872 Recognized Expert Expert
You should be able to request DNS records of a given type, for a given domain name from a given nameserver. I am not sure if .NET has any "nice" way of doing it, but the console program NSLOOKUP can be made to run that way.
Mar 3 '09 #2
yaghout
2 New Member
Yes Plater , .net has no way to retrieve name servers in a nice way ,but i am wonder there is no way to get these information in a network way , we have whois protocol , is there any nice code to extract name servers from whois query in asp .net ?

or some one know how nslookup finds name servers ?
and also is it possible to use nslookup command from a shared hosting account via asp .net ?
Mar 4 '09 #3
Plater
7,872 Recognized Expert Expert
If it really comes down to it, you could create the dns query packet yourself from the RFC documentation, but that would not be easy
Mar 4 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

10
2283
by: Captain Ranger McCoy | last post by:
Hello! Suppose I have ten servers at ten ips: x.x.x.1 x.x.x.2 x.x.x.3 x.x.x.4 and so on Each server hosts 100+ photo galleries, all under a single domain name,
5
9671
by: M A Srinivas | last post by:
Hello, I need to move 6 SQL Servers from existing domain to a new domain. Currently all SQL Server servies are started using the domain account of old domain. What precautions and steps are necessary for migration from one domain to another. Also note that the name of the servers needs to be changed in the new domain .
1
1793
by: Frank00 | last post by:
I run a .NET based portal product. I am using windows authentication. This mode of authentication and the string specifying the connection to AD is specified in the application's web.config file. This portal has always worked fine, though recently, our infrastructure team changed our internal domain name. Now I can no longer authenticate any users no matter how I change the connect string in the web.config file. For the purposes of...
5
1250
by: VM | last post by:
Hi, I'm interested in registering my domain name but I'm not sure which company I'll choose to host my site. Is it possible to just register my name at one company (I was thinking of www.whois.com) and then search for another company that'll host my site? My main concern is reserving the name so I have exclusive rights to it. Thanks, VM
3
1606
by: Nick | last post by:
hi, all I just started to create my own website and I registered a new domain from yahoo, and then I want to register a webhost plan. And how to use this domain I registered? What I undertood about transfer domain is I can transfer the domain to the webhost vendor, and they can config it on their server to point this domain to my web pages, is this right? Is the transfer domain free? Thanks.
3
2776
by: Joe User | last post by:
Hi - I found the class below on another website (www.devx.com) and can't seem to figure out how to make a call to this class to retrieve the machines and put them in a listbox. I am definitely a beginner in vb programming, and would really appreciate the help. TIA!
0
1096
by: Jerry Spivey | last post by:
Hi, I'm a SQL Server DBA and I'm trying to get a listing of the SQL Servers on the network. I installed Visual Basic 2005 Express edition and used the SQL Server 2005 ServerInfo sample which uses SMO (SQL Server Management Objects). I chose SMO over SQL-DMO because SMO seemed to list more SQL Servers including named instances. Everything worked fine on our local domain. I then logged off and connected to the remote domain (in Europe)...
10
2201
by: Sridhar | last post by:
HI, I am having problems setting up a website so that it will be available only inside the domain. We have three servers. One is iis server and second one is internal server and the third one is sql server. I have deployed the web application in the internal server. It is not able to access the sql server that is on another server. If I deploy the same application on IIS, it is working fine. How should I set up the web application in the...
11
2262
by: brett | last post by:
I use two test servers and one production. I have a Utilities class that holds many of the links used through the site. One of the variables in this class is assigned the domain name. I need to automatically set this value depending on the server I'm on. The domain can be similar to any of the following depending on the server: - abc.com - 190.168.2.100 - 190.168.2.109
0
9688
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10030
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9078
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7570
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4146
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.