Thursday 20 August 2009

การเซ็ต DNS Reverse Lookup Zone บน Windows Server 2003

ให้ set dns reverse lookup zone ครับ และทำการ Add ตัว DNS server เข้าไปใน reverse lookup zone ด้วยครับ step คร่าวๆ เป็นดังนี้ครับ
1. เปิด dns console
2. เลือก reverse lookup zone
3. คลิกขวา เลือก new zone
4 เลือก primary zone (ส่วนตรงที่เป็น AD integrated จะเลือกหรือไม่ก็ได้ครับ)
5. เลือก Network ID และใส่ IP ของ network ลงไปครับ เช่น 192.168.40 (ใส่ได้มากสุด 3 หลักนะครับ ถ้าใครใช้ IP เป็น class B ก็ใส่ 2 หลักพอ เช่น 172.16) หลักที่ 3 windows จะเติมให้ครับ
6. เลือก zone file name ตรงนี้ next ผ่านก็ได้ครับ
7. ถ้าเป็น DC ให้เลือก Allow dynamic update เป็น Both non secure and secure
8. Finish

จากนั้นให้ Add Ip ของ dns server เข้าไปใน reverse lookup zone step ดังนี้ครับ
1. คลิกขวาที่ reverse lookup zone ที่สร้างขึ้นใหม่ (ของผมเป็น 192.168.40) นะครับ จากนั้นเลือก new pointer (PTR)
2. ใส่ IP ของเครื่องครับ เช่น 192.168.40.100 (ให้ใส่เฉพาะเลข 100) ซึ่งเลขนี้จะต่อจากชื่อ zone (ถ้าเป็น class b IP 172.16.1.1 ให้ใส่ 1.1 ครับ) หลักที่เราต้องใส่ windows จะเป็นช่องสีขาวให้ ถ้าสีเทาไม่ต้องใส่ครับ
3. ชื่อชอง Host ให้คลิก Browse หรือจะพิมพ์ชื่อคอมพิวเตอร์ เลยก็ได้ครับ
3.1 ถ้าให้ใช้ browse ให้ brose ไปที่ dns server name -> forward lookup zone -> domain name -> host name
3.2 ถ้าพิมพ์ชื่อเองให้ใส่เฉพาะชื่อคอมพิวเตอร์ครับเช่น server1.test.com ใส่แค่ server1 ก็พอ

step มีแค่นี้ครับ จากนั้นให้ลอง nslookup ดูใหม่ น่าจะได้

Wednesday 19 August 2009

How to modify Node Type Windows

  1. For W2K/XP, go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Netbt\Parameters to make change:Name: DhcpNodeType
    Value Type: REG_DWORD - Number
    Valid Range: 1,2,4,8 (b-node, p-node, m-node, h-node)
    Default: 1 or 8 based on the WINS server configuration

    If this key is present, it will override the DhcpNodeType key. If neither key is present, the system defaults to b-node if there are no WINS servers configured for the client. The system defaults to h-node if there is at least one WINS server configured.

  2. Windows 95, go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP
    Name: NodeType
    Value type: DWORD
    Valid range: 1, 2, 4, or 8

    Default: 1 (b-node) if no value is specified or no WINS servers are configured on the network; 8 (h-node) if WINS servers are specified and NodeType is not otherwise defined in the Registry.

    If DNS is enabled (which also enabled LMHOSTS in Windows 95), name resolution will also follow the mode defined by this parameter. This value can also be configured using DHCP.
For details, see these Microsoft Knowledge Base articles:
Default Node Type for Microsoft Clients
http://support.microsoft.com/default.aspx?scid=kb;en-us;160177

เผลอไปปิด Account Administrator ทำอย่างไรจะให้ Active ได้

วิธีที่ 1
ไปที่ Start --->Run --->พิมพ์ secpol.msc --->OK
แล้วไปที่ Local Policies ---> Security Options --->Enable Account administrator

วิธีที่ 2
ใช้ Hiren 9.5 ในส่วน recovery tool =>Active Password Changer และจะมีค่า default เลือกให้ active administrator พร้อมทั้ง clear pass word