Vixual / 106 posts / tags / 31 comments / feed / comments feed /
Search:

nslookup, dig, host 指令的查詢語法

在 Linux 下執行 nslookup 指令都會出現下列訊息:

  Note:  nslookup is deprecated and may be removed from future releases.
  Consider using the `dig' or `host' programs instead.  Run nslookup with
  the `-sil[ent]' option to prevent this message from appearing.

告訴你使用 dig 或 host 指令來取代 nslookup。
以下是 dig 及 host 的查詢語法(順便附上 nslookup 的語法):

其中 Type 的參數有

  1. any
  2. a: 查 IP Address
  3. mx: 查郵件伺服器
  4. ns: 查名稱伺服器
  5. cname: 查別名
  6. ptr: 由 IP Address 反查網域名稱
  7. hinfo: 查伺服器的系統資訊
收藏至網路書籤: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Google
  • Live
  • YahooMyWeb
  • MyShare
  • Hemidemi
  • Funp

您可能會對以下這些文章感興趣

您對這篇文章的評價:
1 Star2 Stars3 Stars4 Stars5 Stars (有 2 人給予評價)
Loading ... Loading ...

1 則留言

  1. Heartshare » nslookup, dig, host 指令的查詢語法 說:

    [...] : http://www.vixual.net/blog/archives/100 add [...]

    Browser: WordPress WordPress 2.6.1

發表您的評論

(您的留言會在審核後才能公開)