[INFO] Whois Server untuk dot ID Domain (unofficial)


Status
Not open for further replies.

vkios01

Expert 1.0
Hai om, buat pengguna ubuntu..
ini caranya, biar dari terminal / network tools bisa cek domain .id
mungkin om tajid bisa edit di blognya, untuk configure ke ubuntu. tadi saya cek untuk centos saja artikelnya.

1 .buka terminal, lalu ketik
Code:
sudo gedit /etc/whois.conf
2. enter dan masukkan password superuser, entrer
note : kalau file belum ada, akan auto create
3. kalau sudah muncul editornya, isi dengan :
Code:
[COLOR="blue"].id whois.magnet-id.com[/COLOR]
atau untuk server us
[COLOR="blue"].id us.whois.magnet-id.com[/COLOR]
4. save dan close
5. silakan dicoba dr terminal, ketik
Code:
whois pandi.or.id
6. kalau sukses, berarti sukses implementasinya ke ubuntu

semoga membantu pengguna ubuntu ^.^

nb : om tajid whois.netzone.web.id sudah tidak bisa ya?
 

papiku.com

New Member
iseng" berhadiah .. :D

PHP:
<?php
$dotid = explode('.', $_GET['d'], 2);
$ch = curl_init("https://register.pandi.or.id/whois");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_REFERER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, 'keyword='.$dotid[0].'&sld=.'.$dotid[1].'&navigation=domain2');

$result = curl_exec($ch);
if($pos = strrpos($result, "Belum Terdaftar")){
	echo 'has no matches';
}else{
	echo $result;
}
/*
tahbahkan pada "whmcs\includes\whoisserver.php"

.ac.id|http://api.papiku.com/whois.php?d=|HTTPREQUEST-has no matches
.co.id|http://api.papiku.com/whois.php?d=|HTTPREQUEST-has no matches
.or.id|http://api.papiku.com/whois.php?d=|HTTPREQUEST-has no matches
.go.id|http://api.papiku.com/whois.php?d=|HTTPREQUEST-has no matches
.web.id|http://api.papiku.com/whois.php?d=|HTTPREQUEST-has no matches
.net.id|http://api.papiku.com/whois.php?d=|HTTPREQUEST-has no matches
.sch.id|http://api.papiku.com/whois.php?d=|HTTPREQUEST-has no matches
.mil.id|http://api.papiku.com/whois.php?d=|HTTPREQUEST-has no matches
*/
?>
 
Status
Not open for further replies.

Top