Monday, December 1, 2008

Tentang Domain dan Host

Ternyata di linux kita bisa mendapatkan name server (ns), mail exchanger (mx) dan informasi detail dari sebuah domain, termasuk host yang nge-sub ke domain tersebut.
hanya dengan perintah :
$host -lv trunojoyo.ac.id ns1.trunojoyo.ac.id

hasilnya :

Trying "trunojoyo.ac.id"
Using domain server:
Name: ns1.trunojoyo.ac.id
Address: 222.124.212.99#53
Aliases:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18284 ;; flags: qr aa ra; QUERY: 1, ANSWER: 50, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ; ;; ANSWER SECTION: trunojoyo.ac.id. 172800 IN NS ns1.trunojoyo.ac.id. trunojoyo.ac.id. 172800 IN NS ns2.trunojoyo.ac.id. trunojoyo.ac.id. 172800 IN NS proxy.trunojoyo.ac.id. trunojoyo.ac.id. 172800 IN A 222.124.212.99 labdasar.trunojoyo.ac.id. 172800 IN A 10.1.2.25 library.trunojoyo.ac.id. 172800 IN A 222.124.212.102 mail.trunojoyo.ac.id. 172800 IN A 222.124.212.100 noc.trunojoyo.ac.id. 172800 IN A 124.81.8.211 ns1.trunojoyo.ac.id. 172800 IN A 222.124.212.99 ns2.trunojoyo.ac.id. 172800 IN A 222.124.212.100 sapi.trunojoyo.ac.id. 172800 IN A 10.1.2.20 teknik.trunojoyo.ac.id. 172800 IN A 10.1.2.2 Received 1097 bytes from 222.124.212.99#53 in 186 ms Klo pengin hasilnya dicetak ke sebuah file text, perintahnya : $host -lv trunojoyo.ac.id ns1.trunojoyo.ac.id > hasil.txt

Klo suatu saat pengin diliat ya more aj....

##dari Abu Aysar; komputasi.wordpress.com##

0 comments:

Related Post :