Solved

domain name

Posted on 1998-04-19
10
233 Views
Last Modified: 2010-04-15
How can I check a domain name is valid or not ?

Andrew
0
Comment
Question by:andrewyu
  • 5
  • 3
  • 2
10 Comments
 
LVL 10

Expert Comment

by:RONSLOW
ID: 1250010
do you mean valid syntax, or if it is the name of an actual domain?

0
 
LVL 1

Accepted Solution

by:
OM earned 10 total points
ID: 1250011
If you're asking for "how to check the existence of a domain name", there is no trivial answer : raise the number of points
to 100 or higher because you need ans answer with piece of code.
0
 
LVL 10

Expert Comment

by:RONSLOW
ID: 1250012
that is hardly an answer
0
 
LVL 1

Expert Comment

by:OM
ID: 1250013
I'am really sorry, I mis-checked the Answer box.
Andrew, please, reject the answer. And update the
number of points if you really want an answer.

0
 
LVL 10

Expert Comment

by:RONSLOW
ID: 1250014
andrewyu ... are you still out there ?

0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:andrewyu
ID: 1250015
Sorry, I don't have any more point !!!!!!
0
 
LVL 10

Expert Comment

by:RONSLOW
ID: 1250016
BUT .. you havne't answered OUR questions.

Do you want to check the syntax of a domain name (ie. does this string look like a legal domain name) or to check that it is actually an existing domain name (is there a domain with this name)??
0
 

Author Comment

by:andrewyu
ID: 1250017
I want to write a program to check whether a domain name is reserved or not ?

Andrew
0
 
LVL 10

Expert Comment

by:RONSLOW
ID: 1250018
aha .. that probably means getting at the databases of reserved names.  A domain name could be reserved without a server actually using it at any given time.  But unfortunately this is not my area of expertise ... OM ??

0
 
LVL 1

Expert Comment

by:OM
ID: 1250019
As far as I know "reserved" name means "used". This is not
completely exact, since there are delay of propagation which
could entrain some wrong answer.
As I said before, this is not so trivial to ask for domain
name since you have to query a NS.
In an approximate way you should test for the existence (i.e.
registering) of a machine called www.domain.name, with
a gethostbyname() call.

0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now