Maintained by: NLnet Labs

Problems about forward zone for subdomain

Newell Zhu
Fri Sep 8 16:12:20 CEST 2017


Hello

System is windows 7 and unbound 1.6.5.

I have below forward zone in server.conf

forward-zone:
      name: 'taobao.com.'
      forward-addr: 114.114.114.114

to forward all domain like *.taobao.com to 114 dns server.

But it seems except taobao.com, other subdomains, e.g..www.taobao.com <http://www.taobao.com/> do not forward to 114.114.114.114

I test it on ubuntu, and it’s OK.

So am I missing something in my config?

My whole server.conf:

server:
   access-control: 127.0.0.0/8 allow
   access-control: 192.168.0.0/16 allow
   cache-max-ttl: 14400
   cache-min-ttl: 900
   hide-identity: yes
   hide-version: yes
   interface: 0.0.0.0
   minimal-responses: yes
   prefetch: yes
   qname-minimisation: yes
   rrset-roundrobin: yes
   use-caps-for-id: yes
   verbosity: 4
   use-syslog: yes
   log-time-ascii: yes

forward-zone:
      name: 'taobao.com.'
      forward-addr: 114.114.114.114

forward-zone:
      name: 'qq.com'
      forward-addr: 114.114.114.114

forward-zone:
      name: 'baidu.com'
      forward-addr: 114.114.114.114

forward-zone:
      name: 'cn.'
      forward-addr: 114.114.114.114

forward-zone:
      name: "."
      forward-addr: 8.8.4.4        # Google
      forward-addr: 8.8.8.8        # Google
      forward-addr: 37.235.1.174   # FreeDNS
      forward-addr: 37.235.1.177   # FreeDNS
      forward-addr: 50.116.23.211  # OpenNIC
      forward-addr: 64.6.64.6      # Verisign
      forward-addr: 64.6.65.6      # Verisign
      forward-addr: 74.82.42.42    # Hurricane Electric
      forward-addr: 84.200.69.80   # DNS Watch
      forward-addr: 84.200.70.40   # DNS Watch
      forward-addr: 91.239.100.100 # censurfridns.dk
      forward-addr: 109.69.8.51    # puntCAT
      forward-addr: 208.67.222.220 # OpenDNS
      forward-addr: 208.67.222.222 # OpenDNS
      forward-addr: 216.146.35.35  # Dyn Public
      forward-addr: 216.146.36.36  # Dyn Public   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20170908/7369d5fc/attachment.html>