Solved

domain name

Posted on 1998-04-19
10
260 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to save 10 174
Why is compiler in oracle server ? 9 75
What is sub-make ? 2 71
How to learn Linux? 10 67
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…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

856 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