windows上相似dnsmasq的軟件Dual DHCP DNS Server

官網地址: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項中html

  4. (可選)清除遊戲緩存數據,刪除遊戲數據緩存

  5. 先tracert 182.150.22.186,此處可能因爲網絡緣由,致使遲遲沒法鏈接到182.150.22.186這個IP地址,此時要沉住氣,由於這是一時的,咱們能夠前後重啓臺式電腦上的WI-FI網絡、DNS服務、手機WI-FI網絡,再次tracert 182.150.22.186,直到鏈接上爲止,不用擔憂,一定會鏈接上的網絡

相關文章
相關標籤/搜索