Solved

domain name

Posted on 1998-04-19
10
251 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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
 

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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

806 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