Google Public DNS: 8.8.8.8 and 8.8.4.4

In order to set up public to your Linux settings place the following root@ptubuntu-laptop:/home/ptubuntu# vi /etc/resolv.conf:

nameserver 8.8.8.8
nameserver 8.8.4.4

root@ptubuntu-laptop:/home/ptubuntu# dig @8.8.8.8 ptubuntu.com

; <<>> DiG 9.6.1-P1 <<>> @8.8.8.8 ptubuntu.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23748
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;ptubuntu.com.            IN    A

;; ANSWER SECTION:
ptubuntu.com.        1713    IN    A    174.120.9.66

;; Query time: 75 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Fri Dec  4 10:23:32 2009
;; MSG SIZE  rcvd: 46

原创文章,转载请注明: 转载自PT Ubuntu Blog

本文链接地址: http://www.ptubuntu.com/2009/12/3285.html

Share

{ 发表评论? }

  1. root9885

    dig @ 什么意思啊 后面接8888?

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Verify Code   If you cannot see the CheckCode image,please refresh the page again!