计算机工程 ›› 2008, Vol. 34 ›› Issue (20): 136-137.doi: 10.3969/j.issn.1000-3428.2008.20.049

• 网络与通信 • 上一篇    下一篇

基于DDNS和NAT的服务器内外网动态映射

鄢 萍,易润忠,童 亮   

  1. (重庆大学制造工程研究所,重庆 400030)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-10-20 发布日期:2008-10-20

Server Internet/Intranet Dynamic Mapping Based on DDNS and NAT

YAN Ping, YI Run-zhong, TONG Liang   

  1. (Institute of Manufacturing Engineering, Chongqing University, Chongqing 400030)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-10-20 Published:2008-10-20

摘要: 提出一种基于动态域名服务(DDNS)和网络地址转换(NAT)的服务器内外网动态映射方法,通过专门开发的内外网关口服务器或路由器,将处于内网的服务器动态映射到公网。关口服务器内存在DDNS服务程序和NAT转换服务程序并有机关联。内网服务器通过DDNS客户端程序向关口服务器注册本机的域名及内网IP地址信息。来自公网的针对内网服务器的域名解析请求发生时,域名解析服务程序请求NAT解析服务程序为该内网服务器自动分配一个公网IP地址,启动内外网NAT转换,并将该公网IP地址返回给请求方,从而完成动态映射,并分析了该实现方法的优点。

关键词: 动态域名服务, 网络地址转换, 内外网, 映射

Abstract: A kind of server Internet/Intranet dynamic mapping method based on DDNS and NAT, which can be applied in dynamicly mapping server in Intranet to Internet, is introduced. The method sets up closely related DDNS and NAT programs in a special Internet/Intranet gateway or router. Intranet server registers domain name and IP address to gateway by DDNS client program. When a request of domain name resolution from Internet reaches, domain name resolution program will request NAT to allocate an Internet IP address automatically for this Intranet server, and return the mapping Internet IP address to requester. The advantage of the method is also analysed.

Key words: DDNS, NAT, Internet/Intranet, mapping

中图分类号: