Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Automatic update of Ali domain name

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

With the popularity of domain names and the acceleration of home broadband bandwidth, home 100Mbps (download) and 4Mbps (upload) are fast enough to allow a large number of technology losers to mess around at home, and I am one of them.

To get back to today's topic, if you want to play WEB, FTP, remote desktop, Citrix application, Exchange, Lycn and so on at home on the dynamic ADSL dialing line, you need to have the following premises.

I. Domain name

1) have your own first-level domain name, recommend Aliyun (formerly Wanwang, this is not an advertisement, you'll see why)

2) after entering the Aliyun domain name management platform, you need to activate the real name system after registration.

3) enter AccessKeys to create and get "AccessKey ID" and "AccessKey Secret"

4) define the host A record related to your domain name

Gateway devices that support port mapping

1) usually simpler wireless routers such as TPLINK and DLINK range in price from tens to hundreds of yuan.

Advantages: easy to configure

Disadvantages: not very stable, the router is easy to crash, does not support routing, usually a single LAN network, the network architecture does not support three-layer switches and multi-VLAN environment, low-end price usually does not support multi-WAN port

2) the high-end ones can choose routers such as Netware, Cisco and H3C, with prices ranging from a few hundred yuan to thousands of yuan.

Advantages: CPU and RAM are relatively large and stable, support simple static routing and VLAN, and support multiple WAN ports

Disadvantages: the operation technical requirements are slightly higher, generally do not support port mapping across network segments, and the probability of death is low.

3) those who have network foundation can choose firewalls eliminated by some enterprises, such as juniper, Fei Tower, etc., the price of a treasure ranges from tens of yuan to tens of thousands of yuan, and they have to find the price in mind.

Advantages: firewall, × ×, the real router rather than the above NAT "router"

Disadvantages: generally speaking, only 100m LAN ports are available for those with less than 500m yuan, and they do not support wireless. High-end ones support 1000Mbps and wireless, but the performance / price ratio is not high. Low-end firewall policies generally do not support wildcards.

Third, Aliyun domain name automatic update program, let's name it Aliyun DDNS client.

I picked it in the forum outside the wall, modified it on the basis of the source code and made it into a program.

Http://down.51cto.com/data/2256480

1) install .net 4.5 first

2) the program decompresses to disk C.

3) modify the program configuration file and fill in it according to the actual situation

4) whether it is normal to run the program manually (as shown below)

5) set the scheduled task, and import the attached xml file into the scheduled task.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report