Changeset 13010 in hybrid for branches/releng-10


Ignore:
Timestamp:
Nov 30, 2014, 5:12:34 PM (10 years ago)
Author:
huub
Message:

een unbound.conf versie die werkende reverse lookup geeft met sunny als lokaal domein server

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-10/nanobsd/files/var/unbound/unbound.conf

    r12955 r13010  
    44server:
    55  # log verbosity
    6     verbosity: 1
     6    verbosity: 3
     7
     8    use-syslog: no
    79
    810  # specify the interfaces to answer queries from by ip-address.  The default
     
    1113  # 'interface:' labeled line.  The listen interfaces are not changed on
    1214  # reload, only on restart.
    13     interface: 0.0.0.0
     15    interface: 127.0.0.1
     16    interface: 172.17.16.129
     17    interface: 172.17.65.1
     18    interface: 172.16.4.124
     19    interface: 172.16.4.28
     20    interface: 172.16.3.21
     21    interface: 172.16.3.85
     22    interface: 172.17.16.1
     23
     24  #  interface: 0.0.0.0
    1425
    1526  # port to answer queries from
     
    129140  # Allow the domain (and its subdomains) to contain private addresses.
    130141  # local-data statements are allowed to contain private addresses too.
    131   private-domain: "wleiden.net"
     142  private-domain: "wleiden.net"
    132143
    133144  # If nonzero, unwanted replies are not only reported in statistics, but also
     
    175186
    176187
     188
    177189  # Unbound will not load if you specify the same local-zone and local-data
    178190  # servers in the main configuration as well as in this "include:" file. We
     
    183195  # locally served zones can be configured for the machines on the LAN.
    184196
    185 #    local-zone: "wleiden.net" static
    186 
    187 #    local-data: "firewall.home.lan.  IN A 10.0.0.1"
     197  #  local-zone: "wleiden.net" static
     198  #  local-zone: "16.172.in-addr.arpa" transparent
     199
     200  # include: /var/unbound/local-data
     201
     202#    local-data: "cetim2.wleiden.net.  IN A 172.17.137.1"
     203#    local-data: "vosko2.wleiden.net.  IN A 172.17.93.1"
     204#    local-data: "sunny.wleiden.net.  IN A 172.16.4.46"
     205#    local-data: "imi.wleiden.net.  IN A 172.17.24.1"
    188206#    local-data: "laptop.home.lan.    IN A 10.0.0.2"
    189207#    local-data: "xboxone.home.lan.   IN A 10.0.0.3"
     
    193211#    local-data: "dhcp7.home.lan.     IN A 10.0.0.7"
    194212
    195 #    local-data-ptr: "10.0.0.1  firewall.home.lan"
     213#    local-data-ptr: "172.17.137.1  cetim2.wleiden.net"
     214#    local-data-ptr: "172.17.93.1  vosko2.wleiden.net"
     215#    local-data-ptr: "172.16.4.46  sunny.wleiden.net"
     216#    local-data-ptr: "172.17.24.1  imi.wleiden.net"
    196217#    local-data-ptr: "10.0.0.2  laptop.home.lan"
    197218#    local-data-ptr: "10.0.0.3  xboxone.home.lan"
     
    216237#
    217238
    218 
     239  private-domain: "wleiden.net"
     240  local-zone: "16.172.in-addr.arpa." nodefault
     241  local-zone: "17.172.in-addr.arpa." nodefault
     242  local-zone: "18.172.in-addr.arpa." nodefault
     243  local-zone: "19.172.in-addr.arpa." nodefault
     244  local-zone: "20.172.in-addr.arpa." nodefault
     245  local-zone: "21.172.in-addr.arpa." nodefault
     246  local-zone: "22.172.in-addr.arpa." nodefault
     247  local-zone: "23.172.in-addr.arpa." nodefault
     248  local-zone: "24.172.in-addr.arpa." nodefault
     249  local-zone: "25.172.in-addr.arpa." nodefault
     250  local-zone: "26.172.in-addr.arpa." nodefault
     251  local-zone: "27.172.in-addr.arpa." nodefault
     252  local-zone: "28.172.in-addr.arpa." nodefault
     253  local-zone: "29.172.in-addr.arpa." nodefault
     254  local-zone: "30.172.in-addr.arpa." nodefault
     255  local-zone: "31.172.in-addr.arpa." nodefault
     256  stub-zone:
     257     name: "wleiden.net"
     258     stub-addr: 172.16.4.46
     259  stub-zone:
     260     name: "16.172.in-addr.arpa."
     261     stub-addr: 172.16.4.46
     262  stub-zone:
     263     name: "17.172.in-addr.arpa."
     264     stub-addr: 172.16.4.46
     265  stub-zone:
     266     name: "18.172.in-addr.arpa."
     267     stub-addr: 172.16.4.46
     268  stub-zone:
     269     name: "19.172.in-addr.arpa."
     270     stub-addr: 172.16.4.46
     271  stub-zone:
     272     name: "20.172.in-addr.arpa."
     273     stub-addr: 172.16.4.46
     274  stub-zone:
     275     name: "21.172.in-addr.arpa."
     276     stub-addr: 172.16.4.46
     277  stub-zone:
     278     name: "22.172.in-addr.arpa."
     279     stub-addr: 172.16.4.46
     280  stub-zone:
     281     name: "23.172.in-addr.arpa."
     282     stub-addr: 172.16.4.46
     283  stub-zone:
     284    name: "24.172.in-addr.arpa."
     285     stub-addr: 172.16.4.46
     286  stub-zone:
     287     name: "25.172.in-addr.arpa."
     288     stub-addr: 172.16.4.46
     289  stub-zone:
     290     name: "26.172.in-addr.arpa."
     291     stub-addr: 172.16.4.46
     292  stub-zone:
     293    name: "27.172.in-addr.arpa."
     294     stub-addr: 172.16.4.46
     295  stub-zone:
     296    name: "28.172.in-addr.arpa."
     297     stub-addr: 172.16.4.46
     298  stub-zone:
     299     name: "29.172.in-addr.arpa."
     300     stub-addr: 172.16.4.46
     301  stub-zone:
     302     name: "30.172.in-addr.arpa."
     303     stub-addr: 172.16.4.46
     304  stub-zone:
     305     name: "31.172.in-addr.arpa."
     306     stub-addr: 172.16.4.46
    219307  # If you have an internal or private DNS names the external DNS servers can
    220308  # not resolve, then you can assign domain name strings to be redirected to a
     
    242330
    243331
    244    include: /var/unbound/forward-zone
     332  include: /var/unbound/forward-zone
    245333
    246334#
Note: See TracChangeset for help on using the changeset viewer.