2007-06-16

Parking a Domain

Message from cPanel when domain is successfully parked:

Parked Domain Additions

Using nameservers with the following IPs: 67.43.9.227,67.43.9.226 Bind reconfiguring on host using rndc
Created DNS entry for americanwifi.us
americanwifi.us was successfully parked on top of weedllc.net 

This went pretty smoothly:

  • On the first try, the cPanel utility came back with an "number of parked domains allowed exceeded" message - had to go back and add domain parking to the account using Web Host Manager (WHM).
  • … on the second try, the cPanel utility to Park a Domain" failed with an error indicating that the americanwifi.us domain was using name servers that were not on the weedllc.net domain, and so the domain could not be parked there;
  • … went to the godaddy.com control panel interface (GoDaddy is the registrar for americanwifi.us) and set the name servers for the domain
  • … the parking maneuver was accomplished on the third try, after setting the number of parked domains allowed for weedllc.net and the DNS server records for americanwifi.us
  • There was not real waiting for any of these steeps - the longest wait time was for godaddy.com to update the domain domain records for americanwifi.us
  • Also, had to "unlock" the domain record for americanwifi.us before changing the name server record(s). Not sure if it can be re-locked now that the name servers are off godaddy.com
  • New name servers of record for americanwifi.us are ns1.weedllc.net and ns2.weedllc.net
  • The DNS changes for americanwifi.us seem to have already propagated at this time: 2007-06-16 13:39 EST

2007-06-14

Customize a Device Icon in WinXP

This information is quoted from the page at Microsoft.com:

Including Icons in Device Driver Packages

Note: The following information will be included in a future 
version of the Windows DDK.

Once you have created a custom icon for a device, you can include
the icon in the device driver package by referencing it in the INF
file. The DDInstall.HW section is used to set driver-independent
information that is device-specific.

In the sample INF sections that follow, the DDInstall.HW section 
points to a separate AddReg section, which specifies the personalized 
icons.

[DDInstall.NT.HW]
AddReg = IconInformation
[IconInformation]
HKR, , Icons, 0x10000, "<name of icon file>"
HKR, , NoMediaIcons, 0x10000, "<name of no media icon file>"

The AddReg section in this example defines two separate registry values and
corresponding icon files, one for the custom icon to display when media is 
present, and a second, "NoMediaIcons," which specifies an icon to be used to 
indicate the same device when no media is inserted.

The following example shows the registry entries for a Vid_0000&Pid_0000 
device and the dynamic-link library (DLL) files that contain the 
"media inserted" and "no media" versions of the icon.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\ 
 ** remove line break before using! ** 
  Vid_0000&Pid_0000\059B003112010E93\Device Parameters
Icons [REG_MULTI_SZ]= %SystemRoot%\system32\icon.ico
NoMediaIcons [REG_MULTI_SZ]= %SystemRoot%\system32\noicon.ico

In the INF file, icon files must be listed in the [SourceDisksFiles] 
section within the INF file, and copied to the user's system by either a 
CopyFiles directive or a CopyFiles section.

During driver installation, the INF entries listed in the example 
will be stored in the Device Parameters subkey within 
HKLM\System\CurrentControlSet\Enum.

Drivers or other code should never access or modify this registry key 
directly; instead, use one of the following APIs:

* From user-mode, use SetupDiCreateDevRegKey and SetupDiOpenDevRegKey.
 
( From kernel-mode, use IoOpenDeviceRegistryKey.
 

For information about the INF entries cited here, see the Device 
Installation Reference in the current Windows DDK.

2007-06-01

interesting utilities for NTFS - TimeStomp

The article Slashdot | New Anti-Forensic Tools Thwart Police pointed to a couple interesting things:

TimeStomp is a program for viewing and setting file system object date/timestamps on the NTFS file system.

Quick TimeStomp How-To from the Security Articles section at DataStronghold.com.