1. You must have your own domain name. For example, abc.com. If you do not have a domain name, you must first register a domain name.
2. Register a DNS domain in the international domain name center to make your DNS server globally valid.
1. register the DNS under the domain name in the domain name control panel of the domain name registrar (such as xinnet and xinnet interconnection.
2. Click here to add two DNS servers, such as ns1.abc.com and ns2.abc.com. Fill in the IP address of the server where winmydns is installed.
3. Enter your dnsdomain name on http://www.internic.com/whois.html, for example, ns1.abc.com. select "nameserver" and click Submit to check whether your registered DNS has taken effect. (Usually 48 hours)
3. When registering a new domain name, enter your own ns1.abc.com and ns2.abc.com In the DNS server box. Do not use the default domain name registrar. If the domain name is already registered, change the DNS server of the domain name to ns1.abc.com and ns2.abc.com.
4. Install the winmydns software after completing the above work. Do not decompress the package to the disk to which it is installed.
Installation and Use
1. Run "Install service. Bat" to install winmydns.
2. Restore the database.
Skip this step if you use the access database.
If you use the MSSQL database, restore the MSSQL database backup file of "DB/winmydns. Bak" to MSSQL to create the winmydns database.
3rd, run winmydnsadmin.exe Program Select the "database Settings" Page and set the database type.
For Access database, enter dB/winmydns. MDB in the ACCESS database file;
To use the MSSQL database, configure the link parameters of MSSQL.
Start the winmydns service.
4. Configure the Web management program.
Modify the database link parameters in conn. asp.
'Winmydns database link parameters can be manually modified here
'####################################### ######################################## ##
Winmydnsdbtype = "0" 'data type, 0: Access, 1: MSSQL database
Winmydnsaccessfile = "../winmydns. mdb" 'Access database file name
Winmydnsdbip = "localhost" 'winiis _ Server database IP Address
Winmydnsdbname = "winmydns" 'winiis _ Server Database Name
Winmydnsdbuser = "sa" 'winiis _ Server database username
Winmydnsdbpass = "Linyang" 'winiis _ Server Database Password
Winmydnsurl = "url.winmydns.com" 'winmydns URL forwarding server Domain Name
'####################################### ######################################## ###
In the IIS manager, create a website or virtual directory pointing to the web directory. Access the index. asp page. The default user name is admin and the password is 123456.
After logging in, you can perform DNS resolution management.
5. Set the URL forwarding server (you do not need to set the URL forwarding function ).
Find a server as the URL forwarding server. In addition, the main directory of the default IIS Site (the site with an empty Host header) is directed to the URL directory, and index. asp is set as the default homepage.
Modify the database link parameters in URL/index. asp. Same as Web/Conn. asp in the previous step.
Enter the winmydnsurl parameter correctly, for example, url.abc.com. And direct the record that parses a url.abc.com to the URL forwarding server.
5. Check whether winmydns works properly after installation. perform the following tests:
1. Run the netstat command to check whether DNS works on UDP port 53.
Run the netstat command to check whether port 53 is Enabled: Start-> Run-> cmd.exe and enter netstat-an-p udp as follows:
C: \ Documents ents and Settings \ Administrator> netstat-an-P UDP
Active connections
PROTO local address foreign address State
UDP 0.0.0.0: 445 *:*
UDP 0.0.0.0: 1434 *:*
UDP 0.0.0.0: 3456 *:*
UDP 127.0.0.1: 1046 *:*
UDP 127.0.0.1: 1047 *:*
UDP 127.0.0.1: 1082 *:*
UDP 192.168.1.158: 9 *:*
UDP 192.168.1.158: 53 *:*
UDP 192.168.1.158: 137 *:*
UDP 192.168.1.158: 138 *:*
UDP 192.168.1.158: 500 *:*
UDP 192.168.1.158: 4500 *:*
UDP 192.168.1.158: 6163 *:*
UDP 192.168.21.1: 53 *:*
UDP 192.168.21.1: 137 *:*
UDP 192.168.21.1: 138 *:*
UDP 192.168.21.1: 500 *:*
UDP 192.168.21.1: 4500 *:*
UDP 192.168.21.1: 30653 *:*
UDP 192.168.137.1: 53 *:*
UDP 192.168.137.1: 137 *:*
UDP 192.168.137.1: 138 *:*
UDP 192.168.137.1: 500 *:*
UDP 192.168.137.1: 4500 *:*
UDP 192.168.137.1: 64677 *:*
C: \ Documents ents and Settings \ Administrator>
If winmydns works properly. The corresponding IP address is displayed in step 53. The above record: UDP 192.168.1.158: 53 *:*. If no port 53 is enabled. Start winmydns in winmydnsadmin.exe.
2. Run the NSLookup command to test whether DNS resolution is normal.
First, check whether the DNS server of the domain name is your company's DNS server. For an international domain name, go to http://www.internic.com/whois.html. For domestic domain names, go to www.cnnic.cn.
Run the NSLookup command to check whether your DNS server is properly resolved: Start-> Run-> cmd.exe and enter NSLookup as follows:
C: \ Documents ents and Settings \ Administrator> NSLookup
Default Server: dns.fz.fj.cn
Address: 202.101.98.55
> Server 192.168.1.158
Default Server: [192.168.1.158]
Address: 192.168.1.158
> Www.abc.com
Server: [192.168.1.158]
Address: 192.168.1.158
Name: www.abc.com
Address: 210.72.225.179
> Set type = mx
> Mail.abc.com
Server: [192.168.1.158]
Address: 192.168.1.158
DNS request timed out.
Timeout was 2 seconds.
DNS request timed out.
Timeout was 2 seconds.
* ** Request to 192.168.1.158 timed-out
>
Use the server command NSLookup to point to your DNS server for query.
Run the set type = Mx or set type = a command to query the DNS type.
Directly enter www.abc.com and other domain names to query the DNS resolution results. If it is a record, the IP address is displayed. If the MX record is used, the domain name will be exchanged in the mailbox.