官网地址:http://dhcp-dns-server.sourceforge.net/
官网定向的下载地址:https://sourceforge.net/projects/dhcp-dns-server/files/
设置参考地址:http://blog.51cto.com/zhukeqiang/1826450
设置详细参考地址:http://www.cnblogs.com/phoenixnudt/archive/2012/12/17/2821834.html
  1. 将要搭建DNS服务的主机设置静态IP地址
  2. 备份并修改DualServer/DualServer.ini配置文件
    [SERVICES]
    #Specify the service you want to use
    #Default is both services
    DNS
    ;DHCP
    
    [LISTEN_ON]
    #Specify the Interfaces you would like Server to listen
    #if you have more than one NIC card on your server
    #always specify which cards will listen DHCP/DNS requests
    #Requests from diffent Interfaces look for matching DHCP ranges.
    #Requests from relay agents look for matching range to relay agent IP.
    #upto 125 interfaces can be specified.
    #Default is all Static interfaces
    ;192.168.0.1
    192.168.0.11
    
    [LOGGING]
    #LogLevels can be set as None, Normal or All
    #Logging Level has be specified separately for DHCP and DNS
    #It is advisable to keep logging to Normal, Normal include errors
    #and DHCP Lease renewal messages. Normal is defaul logging also.
    ;DHCPLogLevel=Normal
    ;DNSLogLevel=Normal
    DNSLogLevel=Normal
    
    [DNS_ALLOWED_HOSTS]
    #These are permitted hosts for DNS Query.
    #Hosts having IP address within these ip ranges
    #only will be responded to DNS requests.
    #Hosts "queried for" has nothing to do with these ranges.
    #125 ranges can be specified.
    #DHCP Client ranges are automatically included
    #use second example for allowing all hosts
    ;192.168.0.1-192.168.255.254
    ;1.0.0.1-255.255.255.254
    1.0.0.1-255.255.255.254
    
    [DNS_HOSTS]
    #This is where hosts and their
    #IPs needs to be specified
    #DNS will resolve as per
    #entries here, in addition to
    #DHCP alotted addresses.
    #Bare names automatically
    #assume local domain name.
    #hosts here need not be local
    #reverse entry is automatic.
    #MX and ALIASs needs to
    #be given in respected sections
    #no alias or wild cards in this section
    #No limit to no. of entries here !
    ;OracleServer.yahoo.com=192.168.0.43
    ;DNS=192.168.0.1
    ;cpltcaxd02b=192.168.0.2
    ;homehost.external.com=187.178.187.178
    ;strange=192.168.6.11
    ;soho=192.168.0.111
    ;www=12.67.4.3
    adgp.gate-dhgames.com=182.150.22.186
    
    [FORWARDING_SERVERS]
    #These servers are default Forward DNS Servers
    #Program auto detects if not specified
    ;192.168.0.1
    ;10.10.10.1
    61.139.2.69
    114.114.114.114[FORWARDING_SERVERS]
    #These servers are default Forward DNS Servers
    #Program auto detects if not specified
    ;192.168.0.1
    ;10.10.10.1
    61.139.2.69
    114.114.114.114
    
  3. 将手机连接到同一个局域网或VLan中,将DNS服务主机的IP地址写入手机DNS项中

  4. (可选)清除游戏缓存数据,删除游戏数据

  5. 先tracert 182.150.22.186,此处可能由于网络原因,导致迟迟无法连接到182.150.22.186这个IP地址,此时要沉住气,因为这是一时的,我们可以先后重启台式电脑上的WI-FI网络、DNS服务、手机WI-FI网络,再次tracert 182.150.22.186,直到连接上为止,不用担心,必定会连接上的

11-16 01:35