<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Just My Life &#187; dns</title>
	<atom:link href="http://imrgill.com/tag/dns/feed/" rel="self" type="application/rss+xml" />
	<link>http://imrgill.com</link>
	<description>I&#039;m mrGilL, I&#039;m Newbie Admin</description>
	<lastBuildDate>Thu, 02 Sep 2010 08:25:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Daily Command : ดูรายละเอียดโดเมนด้วย whois</title>
		<link>http://imrgill.com/2010/01/28/view-domain-infomation-with-whois.html</link>
		<comments>http://imrgill.com/2010/01/28/view-domain-infomation-with-whois.html#comments</comments>
		<pubDate>Thu, 28 Jan 2010 13:55:14 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Daily command]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[whois]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=548</guid>
		<description><![CDATA[วันนี้เอาคำสั่งสำหรับตรวจสอบรายละเอียดของโดเมนมาฝากครับ นั้นคือคำสั่ง whois ซึ่งการใช้งานก็แสนง่ายครับแค่เพียงใส่ชื่อโดเมนที่ต้องการตรวจตามหลังคำสั่ง whois เท่านั้น ตัวอย่าง root@mrgill-laptop:~# whois cpe-ru.com Whois Server Version 2.0 Domain names in the .com and .net domains can now be registered with many different competing registrars. Go to http://www.internic.net for detailed information. Domain Name: CPE-RU.COM Registrar: GODADDY.COM, INC. Whois Server: whois.godaddy.com Referral URL: http://registrar.godaddy.com Name Server: NS11.HOSTD4U.COM Name Server: NS12.HOSTD4U.COM [...]]]></description>
			<content:encoded><![CDATA[<p>วันนี้เอาคำสั่งสำหรับตรวจสอบรายละเอียดของโดเมนมาฝากครับ นั้นคือคำสั่ง whois ซึ่งการใช้งานก็แสนง่ายครับแค่เพียงใส่ชื่อโดเมนที่ต้องการตรวจตามหลังคำสั่ง whois เท่านั้น ตัวอย่าง</p>
<pre>
<div class="codesnip-container" >root@mrgill-laptop:~# whois cpe-ru.com

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.<span id="more-548"></span>

   Domain Name: CPE-RU.COM
   Registrar: GODADDY.COM, INC.
   Whois Server: whois.godaddy.com
   Referral URL: http://registrar.godaddy.com
   Name Server: NS11.HOSTD4U.COM
   Name Server: NS12.HOSTD4U.COM
   Status: clientDeleteProhibited
   Status: clientRenewProhibited
   Status: clientTransferProhibited
   Status: clientUpdateProhibited
   Updated Date: 16-sep-2008
   Creation Date: 03-mar-2004
   Expiration Date: 03-mar-2018

>>> Last update of whois database: Thu, 28 Jan 2010 13:30:14 UTC <<<

NOTICE: The expiration date displayed in this record is the date the
registrar's sponsorship of the domain name registration in the registry is
currently set to expire. This date does not necessarily reflect the expiration
date of the domain name registrant's agreement with the sponsoring
registrar.  Users may consult the sponsoring registrar's Whois database to
view the registrar's reported date of expiration for this registration.

TERMS OF USE: You are not authorized to access or query our Whois
database through the use of electronic processes that are high-volume and
automated except as reasonably necessary to register domain names or
modify existing registrations; the Data in VeriSign Global Registry
Services' ("VeriSign") Whois database is provided by VeriSign for
information purposes only, and to assist persons in obtaining information
about or related to a domain name registration record. VeriSign does not
guarantee its accuracy. By submitting a Whois query, you agree to abide
by the following terms of use: You agree that you may use this Data only
for lawful purposes and that under no circumstances will you use this Data
to: (1) allow, enable, or otherwise support the transmission of mass
unsolicited, commercial advertising or solicitations via e-mail, telephone,
or facsimile; or (2) enable high volume, automated, electronic processes
that apply to VeriSign (or its computer systems). The compilation,
repackaging, dissemination or other use of this Data is expressly
prohibited without the prior written consent of VeriSign. You agree not to
use electronic processes that are automated and high-volume to access or
query the Whois database except as reasonably necessary to register
domain names or modify existing registrations. VeriSign reserves the right
to restrict your access to the Whois database in its sole discretion to ensure
operational stability.  VeriSign may restrict or terminate your access to the
Whois database for failure to abide by these terms of use. VeriSign
reserves the right to modify these terms at any time. 

The Registry database contains ONLY .COM, .NET, .EDU domains and
Registrars.The data contained in GoDaddy.com, Inc.'s WhoIs database,
while believed by the company to be reliable, is provided "as is"
with no guarantee or warranties regarding its accuracy.  This
information is provided for the sole purpose of assisting you
in obtaining information about domain name registration records.
Any use of this data for any other purpose is expressly forbidden without the prior written
permission of GoDaddy.com, Inc.  By submitting an inquiry,
you agree to these terms of usage and limitations of warranty.  In particular,
you agree not to use this data to allow, enable, or otherwise make possible,
dissemination or collection of this data, in part or in its entirety, for any
purpose, such as the transmission of unsolicited advertising and
and solicitations of any kind, including spam.  You further agree
not to use this data to enable high volume, automated or robotic electronic
processes designed to collect or compile this data for any purpose,
including mining this data for your own personal or commercial purposes. 

Please note: the registrant of the domain name is specified
in the "registrant" field.  In most cases, GoDaddy.com, Inc.
is not the registrant of domain names listed in this database.

Registrant:
   Ramkhamhaeng University
   Ramkhamhaeng University
   Bangkok 10110
   Thailand

   Registered through: GoDaddy.com, Inc. (http://www.godaddy.com)
   Domain Name: CPE-RU.COM
      Created on: 03-Mar-04
      Expires on: 03-Mar-18
      Last Updated on: 16-Sep-08

   Administrative Contact:
      Engineer, Computer  webmaster@hostd4u.com
      Ramkhamhaeng University
      Ramkhamhaeng University
      Bangkok 10110
      Thailand
      6614412XXX      Fax -- 

   Technical Contact:
      Engineer, Computer  webmaster@hostd4u.com
      Ramkhamhaeng University
      Ramkhamhaeng University
      Bangkok 10110
      Thailand
      6614412XXX      Fax -- 

   Domain servers in listed order:
      NS11.HOSTD4U.COM
      NS12.HOSTD4U.COM</div>
</pre>
<p>ถ้าเรากรอกหมายเลขไอพีแทนชื่อโดเมนก็จะเป็นการแสดงรายละเอียดของ IP Class นั้นๆ ซึ่งผมขอไม่นำมาแสดง ณ ที่นี้อยากรู้ว่าเป็นยังไงก็ลองกันเองนะครับ<br />
ดูรายละเอียดเพิ่มเติม</p>
<div class="codesnip-container" >root@mrgill-laptop:~# man whois</div>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2010/01/28/view-domain-infomation-with-whois.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Public DNS บน Ubuntu</title>
		<link>http://imrgill.com/2009/12/08/google-public-dns-on-ubuntu.html</link>
		<comments>http://imrgill.com/2009/12/08/google-public-dns-on-ubuntu.html#comments</comments>
		<pubDate>Tue, 08 Dec 2009 07:19:39 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google public dns]]></category>
		<category><![CDATA[nameserver]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=415</guid>
		<description><![CDATA[ไม่นานมานี้ Google เปิดให้บริการใหม่นั้นคือ Google Public DNS ซึ่งเป็นบริการสอบถามชื่อและไอพีฟรีของ Google ซึ่งสิ่งที่คุณจะได้จากบริการนี้คือ 1. ความเร็วในการใช้งานบราวเซอร์ 2. ความปลอดภัยที่ดีกว่า 3. ได้ผลลัพธิ์ทันทีโดยไม่ต้อง Redirect มาดูกันว่าเราจะใช้ Google Public DNS บน Ubuntu ได้ยังไง สำหรับใครที่ใช้ Ubuntu Desktop หรือ Linux Server ที่ Fix IP ก็สามารถเข้าไปแก้ไขไฟล์ /etc/resolv.conf ได้โดยตรง ตัวอย่าง root@mrgill-laptop:~# nano /etc/resolv.conf จากนั้นแก้ไขข้อมูลในไฟล์ /etc/resolv.conf ให้เป็น nameserver 8.8.8.8 nameserver 8.8.4.4 และสำหรับใครที่ใช้ Ubuntu Desktop แล้วรับ DHCP มาทุกครั้งที่ renew ip เราจะได้ [...]]]></description>
			<content:encoded><![CDATA[<p>ไม่นานมานี้ Google เปิดให้บริการใหม่นั้นคือ Google Public DNS ซึ่งเป็นบริการสอบถามชื่อและไอพีฟรีของ Google ซึ่งสิ่งที่คุณจะได้จากบริการนี้คือ</p>
<p>1. ความเร็วในการใช้งานบราวเซอร์<br />
2. ความปลอดภัยที่ดีกว่า<br />
3. ได้ผลลัพธิ์ทันทีโดยไม่ต้อง Redirect</p>
<p>มาดูกันว่าเราจะใช้ Google Public DNS บน Ubuntu ได้ยังไง</p>
<p>สำหรับใครที่ใช้ Ubuntu Desktop หรือ Linux Server ที่ Fix IP ก็สามารถเข้าไปแก้ไขไฟล์ /etc/resolv.conf ได้โดยตรง</p>
<p><strong>ตัวอย่าง</strong></p>
<pre>
<div class="codesnip-container" >root@mrgill-laptop:~# nano /etc/resolv.conf</div>
</pre>
<p>จากนั้นแก้ไขข้อมูลในไฟล์ /etc/resolv.conf ให้เป็น</p>
<pre>
<div class="codesnip-container" >nameserver 8.8.8.8
nameserver 8.8.4.4</div>
</pre>
<p>และสำหรับใครที่ใช้ Ubuntu Desktop แล้วรับ DHCP มาทุกครั้งที่ renew ip เราจะได้ dns ที่ dhcp แจกมาให้ซึ่งวิธีแก้ไขนี้ทำได้โดย<br />
<span id="more-415"></span><br />
1. คลิกขวาที่ Applet Network Manager บริเวร Notification Area จากนั้นเลือก Edit Connections</p>
<p style="text-align: center;"><img class="aligncenter" src="http://farm3.static.flickr.com/2536/4168637292_dd04bd71fc_o.jpg" alt="" width="421" height="177" />Edit Connections</p>
<p style="text-align: left;">2. จะปรากฎหน้าจอ Network Connections ขึ้นมา แล้วเลือก Connection ที่คุณใช้ ตัวอย่างของผมใช้ Wireless ที่มี SSID ที่ชื่อ mrgill_wifi จากนั้นคลิกที่ปุ่ม Edit</p>
<p style="text-align: center;"><img class="aligncenter" src="http://farm3.static.flickr.com/2550/4168637294_ef0ba7574c_o.jpg" alt="" width="442" height="322" />Network Connections</p>
<p style="text-align: left;">3. จะเห็นหน้าจอ Editing</p>
<p style="text-align: center;"><img class="aligncenter" src="http://farm3.static.flickr.com/2564/4168637304_e799e738e8_o.jpg" alt="" width="385" height="499" />Editing</p>
<p style="text-align: left;">ให้เปลี่ยน Method จาก Automatic (DHCP) เป็น Automatic (DHCP) address only</p>
<p style="text-align: left;">จากนั้นในช่อง DNS servers ให้กรอก 8.8.8.8, 8.8.4.4 ลงไป ดังรูป</p>
<p style="text-align: center;"><img class="aligncenter" src="http://farm3.static.flickr.com/2547/4168637308_96aef2664b_o.jpg" alt="" width="385" height="500" />Editing (2)</p>
<p style="text-align: left;">จากนั้นคลิกปุ่ม Apply</p>
<p style="text-align: left;">4. สั่งให้ Ubuntu ใช้ DNS ที่เพิ่งเปลี่ยนไปโดยคลิกที่ Applet Network Manager จากนั้นเลือกเน็ตเวิร์คที่คุณใช้</p>
<p style="text-align: center;"><img class="aligncenter" src="http://farm3.static.flickr.com/2682/4168637310_9b7be0f868_o.jpg" alt="" width="344" height="302" />เลือก Network ที่คุณใช้งาน</p>
<p style="text-align: left;"><img class="aligncenter" src="http://farm3.static.flickr.com/2648/4168637314_66061f8a93_o.jpg" alt="" width="346" height="174" /><img class="aligncenter" src="http://farm3.static.flickr.com/2554/4167876119_bf5ec40a5c_o.jpg" alt="" width="344" height="174" /></p>
<p style="text-align: left;">5. ดูผลที่ได้ว่า DNS เปลี่ยนเป็นที่เรากำหนดหรือยังโดยคลิกขวาที่ Applet Network Manager แล้วคลิก Connection Information</p>
<p style="text-align: left;"><img class="aligncenter" src="http://farm3.static.flickr.com/2564/4167949259_da69a2c0b2_o.jpg" alt="" width="341" height="171" /></p>
<p style="text-align: center;"><img class="aligncenter" src="http://farm3.static.flickr.com/2761/4168707880_caa87bdebc_o.jpg" alt="" width="368" height="433" />Connection Information</p>
<p style="text-align: left;">สังเกตตรง Primary DNS กับ Secondary DNS จะเป็น IP ของ Google Public DNS แล้ว</p>
<p style="text-align: left;">หรือใครจะใช้คำสั่ง</p>
<pre>
<div class="codesnip-container" >root@mrgill-laptop:~# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 8.8.8.8
nameserver 8.8.4.4</div>
</pre>
<p>ก็จะได้ผลเหมือนกัน</p>
<p>6. สุดท้ายก็ทดลองเปิด Browser แล้วเข้าเว็บกันเลยครับผม</p>
<p>รายละเอียดเพิ่มเติม : <a href="http://code.google.com/speed/public-dns/" target="_blank">http://code.google.com/speed/public-dns/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2009/12/08/google-public-dns-on-ubuntu.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
