我已经更改了域名的 A 记录,但现在我不知道如何测试是否可以看到更改。是否有一个工具可以用来确定给定域名的 IP?
我不需要这些在线工具,我想从我的机器上运行它……这样我就能从我的角度知道 IP 已经发生了变化。
答案1
答案2
我喜欢挖掘:
$ dig any example.com
; <<>> DiG 9.9.2-rl.028.23-P2-RedHat-9.9.2-10.P2.fc18 <<>> any example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52655
;; flags: qr rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;example.com. IN ANY
;; ANSWER SECTION:
example.com. 170658 IN RRSIG A 8 2 172800 20130621152841 20130614072746 49830 example.com. P/s7wWdRocK76xcMjHQUvKlxJw0Hh52wkDseFi0W+PQ9ZUrRWSKOWBHH 4g+prSs3fG/PusGnhFUNNQx//KsIiSDQgJExw66rUsBf1IrTgSrGgCDC 1D84fTiLKi3hUIITDw2FaQEzAzjrbpR2MT+huXey+S20UWLFJAwqRHK9 sMA=
example.com. 170658 IN A 192.0.43.10
example.com. 13272 IN RRSIG DS 8 2 86400 20130618042035 20130611031035 35519 com. dHr8vFmY6mkpvzrXS/9zYeYuZ2h8a4iSkVoftFIkyDRipqtK9rnsxVLF kRE8aantCDnHFSbPL3ScqD2HmsBByBZ6VoqHiJpmaO1ktvmaw5KGPMpA J5DV8Ng4t7WPe0qxTU1xzmFNhTc/ZEzYpZfOCSVRXer7VI5KYl2QsHN+ +Nw=
example.com. 13272 IN DS 31589 8 2 CDE0D742D6998AA554A92D890F8184C698CFAC8A26FA59875A990C03 E576343C
example.com. 13272 IN DS 31589 8 1 3490A6806D47F17A34C29E2CE80E8A999FFBE4BE
example.com. 99672 IN NS b.iana-servers.net.
example.com. 99672 IN NS a.iana-servers.net.
;; AUTHORITY SECTION:
example.com. 99672 IN NS b.iana-servers.net.
example.com. 99672 IN NS a.iana-servers.net.
;; Query time: 67 msec
;; SERVER: 192.168.88.1#53(192.168.88.1)
;; WHEN: Fri Jun 14 12:20:35 2013
;; MSG SIZE rcvd: 539