"jens" <mkg@jellingnet.dk> writes:
> Kan man finde et domænes MX ip via en simpel cmd commando ?
Ja. Kig på host(1) eller dig(1). De følger som standard med de fleste
former for Unix, og ellers kan de hentes på nettet. Fx:
$ host -t mx bunk.cc
bunk.cc mail is handled by 10 mail.bunk.cc.
bunk.cc mail is handled by 100 mailgate.cybercity.dk.
Eller med dig:
$ dig -t mx bunk.cc
; <<>> DiG 9.2.1 <<>> -t mx bunk.cc
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35685
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 2
;; QUESTION SECTION:
;bunk.cc. IN MX
;; ANSWER SECTION:
bunk.cc. 7200 IN MX 100 mailgate.cybercity.dk.
bunk.cc. 7200 IN MX 10 mail.bunk.cc.
;; AUTHORITY SECTION:
bunk.cc. 7200 IN NS ns4.zoneedit.com.
bunk.cc. 7200 IN NS ns.szn.dk.
bunk.cc. 7200 IN NS ns.bunk.cc.
bunk.cc. 7200 IN NS ns1.zoneedit.com.
;; ADDITIONAL SECTION:
mail.bunk.cc. 7200 IN A 212.242.94.26
ns.bunk.cc. 7200 IN A 212.242.94.26
;; Query time: 9 msec
;; SERVER: 212.242.94.26#53(212.242.94.26)
;; WHEN: Thu May 15 13:27:51 2003
;; MSG SIZE rcvd: 201
--
Jacob -
www.bunk.cc
Are you having fun yet?