Code covered by the BSD License  

Highlights from
Domain Name Checker

image thumbnail
from Domain Name Checker by Luigi Rosa
Check Domain Name Availability with Matlab

test_main.m
clc;
% Luigi Rosa
% Via Centrale 35
% 67042 Civita Di Bagno
% L'Aquila - ITALY
% mobile +39 3207214179
% email luigi.rosa@tiscali.it
% web site http://www.advancedsourcecode.com

% This domain name should be not available...
URL = 'google.com';
[isfree]=check_domain_allwhois(URL);
if isfree
    msg = sprintf('%s%s',URL,' is available');
else
    msg = sprintf('%s%s',URL,' is not available');
end
disp(msg);


% On the other hand this domain name should be available...
URL = 'kjsahkajshksjhas.com';
[isfree]=check_domain_allwhois('kjsahkajshksjhas.com');
if isfree
    msg = sprintf('%s%s',URL,' is available');
else
    msg = sprintf('%s%s',URL,' is not available');
end
disp(msg);
% You can use also the routine check_domain_internic.m, it is perfectly
% equivalent to check_domain_allwhois.m, but it uses another web service.

Contact us at files@mathworks.com