1. You must have a domain name of your own. For example: abc.com. If you do not have a domain name, you must first register a domain name.
2. Register a DNS domain name at the International Domain Name Center to make your DNS server globally valid.
1. In the domain name control panel of the domain name registrar (such as Xinwang, Xinwang Internet), there is a "Register DNS under this domain name" function.
2. Click to add two DNS, such as ns1.abc.com and ns2.abc.com. For the IP address, fill in the IP address of the server where you install winmydns.
3. Fill in your DNS domain name on the http://www.internic.com/whois.html page, such as ns1.abc.com, select "Nameserver", click submit to see if your registered DNS has taken effect. (Generally effective within 48 hours)
3. When registering a new domain name, fill in your own ns1.abc.com and ns2.abc.com in the DNS server box. Do not use the default ones of the domain name registrar. If it is a registered domain name, please modify the DNS server of the domain name to ns1.abc.com and ns2.abc.com.
4. After the above work is completed, install the winmydns software. Whichever disk it is decompressed to is the disk it is installed on. Try not to decompress it to the c drive.
Install and use
1. Run "Install Service.bat" to install WinMyDNS service.
2. Restore the database.
If using ACCESS database, skip this step.
If you use an MSSQL database, please restore the MSSQL database backup file "DB/WinMyDNS.BAK" to MSSQL to create the WinMyDNS database.
3. Run the WinMyDNSAdmin.exe program, select the "Database Settings" page, and set the database type.
If using the ACCESS database, fill in the ACCESS database file: DB/WinMyDNS.mdb;
If you use MSSQL database, please configure the MSSQL link parameters.
Start the WinMyDNS service.
4. Configure the WEB management program.
Modify the database link parameters in conn.asp.
'WinMyDNS database link parameters, please modify them manually here
'############################################### ################################
WinMyDNSDbType="0" 'Data is 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 user name
WinMyDNSDbPass="linyang" 'WINIIS_Server database password
WinMyDNSURL="url.winmydns.com" 'winmydns URL forwarding server domain name
'############################################### #################################
In IIS Manager, create a website or virtual directory pointing to the WEB directory. Then visit the index.asp page, the default username is: admin, password is 123456
After logging in, you can perform DNS resolution management.
5. URL forwarding server settings (if you don’t need the URL forwarding function, you don’t need to set it up).
Find a server as a URL forwarding server. And point the home directory of the IIS default site (the site with an empty host header) to the URL directory, and set index.asp as the default homepage.
Modify the database link parameters in URL/index.asp. Same as the previous step WEB/CONN.asp.
Pay attention to fill in the WinMyDNSURL parameters correctly, such as: url.abc.com. And point the A record that parses url.abc.com to the URL forwarding server.
5. After the installation is complete, test to see if winmydns is working normally. Test as follows:
1. Use the netstat command to check whether DNS is working on UDP port 53. Use the netstat command to check whether port 53 is open: Start->Run->cmd.exe and then enter netstat -an -p udp as follows:
C:Documents and SettingsAdministrator>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 and SettingsAdministrator>
If winmydns is working fine. There will be a 53 prompt on the corresponding IP. As recorded above: UDP 192.168.1.158:53 *:*. If no port 53 is opened. Please start the winmydns service in WinMyDNSAdmin.exe.
2. Use the nslookup command to test whether the DNS resolution is normal. First, confirm whether the DNS server of the domain name is your company's DNS server. For international domain names, please go to http://www.internic.com/whois.html. For domestic domain names, please go to www.cnnic.cn.
Use the nslookup command to check whether your DNS server resolves normally: Start->Run->cmd.exe and then enter nslookup as follows:
C:Documents and SettingsAdministrator>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 querying.
Use commands such as set type=MX or set type=A to query the DNS type indicated in the query.
Directly enter www.abc.com and other domain names to query the DNS resolution results. If it is an A record, the IP address will appear. If there is an MX record, the mailbox will come out to exchange the domain name.