Changeset 12955 in hybrid


Ignore:
Timestamp:
Oct 12, 2014, 1:31:47 PM (10 years ago)
Author:
wouter
Message:

Unbound aangepast naar /var/unbound

Location:
branches/releng-10/nanobsd/files
Files:
4 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/releng-10/nanobsd/files/etc/rc.d/unbound

    r12948 r12955  
    1717load_rc_config $name
    1818
    19 command="/usr/local/sbin/unbound"
    20 pidfile=${unbound_pidfile:-"/usr/local/etc/unbound/unbound.pid"}
    21 command_args=${unbound_flags:-"-c /usr/local/etc/unbound/unbound.conf"}
     19command="/usr/sbin/unbound"
     20pidfile=${unbound_pidfile:-"/var/unbound/unbound.pid"}
     21command_args=${unbound_flags:-"-c /var/unbound/unbound.conf"}
    2222extra_commands="reload"
    2323
  • branches/releng-10/nanobsd/files/var/unbound/unbound.conf

    r12941 r12955  
    4444  # when servers change,  therefore  it is good practice to use a root-hints
    4545  # file.  get one from ftp://FTP.INTERNIC.NET/domain/named.cache
    46     root-hints: "/usr/local/etc/unbound/root.hints"
     46    root-hints: "/var/unbound/root.hints"
    4747
    4848  # enable to not answer id.server and hostname.bind queries.
     
    151151  # queries will fail.
    152152 
    153     auto-trust-anchor-file: "/usr/local/etc/unbound/root.key"
     153    auto-trust-anchor-file: "/var/unbound/root.key"
    154154
    155155  # Should additional section of secure message also be kept clean of unsecure
     
    179179  # suggest commenting out any of the local-zone and local-data lines above if
    180180  # you suspect they could be included in the unbound_ad_servers servers file.
    181   #include: "/usr/local/etc/unbound/unbound_ad_servers"
     181  #include: "/var/unbound/unbound_ad_servers"
    182182
    183183  # locally served zones can be configured for the machines on the LAN.
     
    242242
    243243
    244    include: /usr/local/etc/unbound/forward-zone
     244   include: /var/unbound/forward-zone
    245245
    246246#
  • branches/releng-10/nanobsd/files/var/unbound/unbound.conf.gateway

    r12941 r12955  
    4444  # when servers change,  therefore  it is good practice to use a root-hints
    4545  # file.  get one from ftp://FTP.INTERNIC.NET/domain/named.cache
    46     root-hints: "/usr/local/etc/unbound/root.hints"
     46    root-hints: "/var/unbound/root.hints"
    4747
    4848  # enable to not answer id.server and hostname.bind queries.
     
    151151  # queries will fail.
    152152 
    153     auto-trust-anchor-file: "/usr/local/etc/unbound/root.key"
     153    auto-trust-anchor-file: "/var/unbound/root.key"
    154154
    155155  # Should additional section of secure message also be kept clean of unsecure
     
    179179  # suggest commenting out any of the local-zone and local-data lines above if
    180180  # you suspect they could be included in the unbound_ad_servers servers file.
    181   #include: "/usr/local/etc/unbound/unbound_ad_servers"
     181  #include: "/var/unbound/unbound_ad_servers"
    182182
    183183  # locally served zones can be configured for the machines on the LAN.
     
    242242
    243243
    244    include: /usr/local/etc/unbound/forward-zone
     244   include: /var/unbound/forward-zone
    245245
    246246#
  • branches/releng-10/nanobsd/files/var/unbound/unbound.conf.node

    r12941 r12955  
    4444  # when servers change,  therefore  it is good practice to use a root-hints
    4545  # file.  get one from ftp://FTP.INTERNIC.NET/domain/named.cache
    46     root-hints: "/usr/local/etc/unbound/root.hints"
     46    root-hints: "/var/unbound/root.hints"
    4747
    4848  # enable to not answer id.server and hostname.bind queries.
     
    151151  # queries will fail.
    152152 
    153     auto-trust-anchor-file: "/usr/local/etc/unbound/root.key"
     153    auto-trust-anchor-file: "/var/unbound/root.key"
    154154
    155155  # Should additional section of secure message also be kept clean of unsecure
     
    179179  # suggest commenting out any of the local-zone and local-data lines above if
    180180  # you suspect they could be included in the unbound_ad_servers servers file.
    181   #include: "/usr/local/etc/unbound/unbound_ad_servers"
     181  #include: "/var/unbound/unbound_ad_servers"
    182182
    183183  # locally served zones can be configured for the machines on the LAN.
     
    242242
    243243
    244    include: /usr/local/etc/unbound/forward-zone
     244   include: /var/unbound/forward-zone
    245245
    246246#
  • branches/releng-10/nanobsd/files/var/unbound/unbound.conf.sample

    r12941 r12955  
    203203        #
    204204        # If you give "" no chroot is performed. The path must not end in a /.
    205         # chroot: "/usr/local/etc/unbound"
     205        # chroot: "/var/unbound"
    206206
    207207        # if given, user privileges are dropped (after binding port),
     
    213213        # relative to this directory. If you give "" the working directory
    214214        # is not changed.
    215         # directory: "/usr/local/etc/unbound"
     215        # directory: "/var/unbound"
    216216
    217217        # the log file, "" means log to stderr.
     
    230230
    231231        # the pid file. Can be an absolute path outside of chroot/work dir.
    232         # pidfile: "/usr/local/etc/unbound/unbound.pid"
     232        # pidfile: "/var/unbound/unbound.pid"
    233233
    234234        # file to read root hints from.
     
    343343        # Please note usage of unbound-anchor root anchor is at your own risk
    344344        # and under the terms of our LICENSE (see that file in the source).
    345         # auto-trust-anchor-file: "/usr/local/etc/unbound/root.key"
     345        # auto-trust-anchor-file: "/var/unbound/root.key"
    346346
    347347        # File with DLV trusted keys. Same format as trust-anchor-file.
     
    533533python:
    534534        # Script file to load
    535         # python-script: "/usr/local/etc/unbound/ubmodule-tst.py"
     535        # python-script: "/var/unbound/ubmodule-tst.py"
    536536
    537537# Remote control config section.
     
    550550
    551551        # unbound server key file.
    552         # server-key-file: "/usr/local/etc/unbound/unbound_server.key"
     552        # server-key-file: "/var/unbound/unbound_server.key"
    553553
    554554        # unbound server certificate file.
    555         # server-cert-file: "/usr/local/etc/unbound/unbound_server.pem"
     555        # server-cert-file: "/var/unbound/unbound_server.pem"
    556556
    557557        # unbound-control key file.
    558         # control-key-file: "/usr/local/etc/unbound/unbound_control.key"
     558        # control-key-file: "/var/unbound/unbound_control.key"
    559559
    560560        # unbound-control certificate file.
    561         # control-cert-file: "/usr/local/etc/unbound/unbound_control.pem"
     561        # control-cert-file: "/var/unbound/unbound_control.pem"
    562562
    563563# Stub zones.
Note: See TracChangeset for help on using the changeset viewer.