Changeset 13758 in hybrid


Ignore:
Timestamp:
Jan 21, 2017, 11:10:34 PM (8 years ago)
Author:
rick
Message:

Autoritive DNS server PoC coding.

Location:
branches/releng-11/nanobsd/files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-11/nanobsd/files/etc/rc.conf

    r13748 r13758  
    7575nanobsd_save_sshkeys_enable="YES"
    7676
    77 # low-memory footprint DHCP and non-authorative recursive forwarding DNS resolver
     77# Deprecated: low-memory footprint DHCP and non-authorative recursive
     78# forwarding DNS resolver
    7879dnsmasq_enable="NO"
     80
     81# Normal node, consist of fully-fleshed caching resolver and autoritive DNS
     82# server for reverse entries (de-centralized setup).
    7983local_unbound_enable="NO"
    8084unbound_enable="NO"
    8185unbound_anchorflags="-f /etc/resolv.conf"
     86nsd_enable="YES"
    8287
    8388# Explicitly disable the memory-hungry alternatives
  • branches/releng-11/nanobsd/files/usr/local/etc/nsd/nsd.conf

    r13755 r13758  
    2424        # ip-address: 1.2.3.4@5678
    2525        # ip-address: 12fe::8ef0
    26     ip-address: 127.0.0.1
     26        ip-address: 127.0.0.1
    2727
    2828        # Allow binding to non local addresses. Default no.
     
    5858        # by default, no chroot-jail is used.
    5959        # chroot: "/usr/local/etc/nsd"
     60        chroot: ""
    6061
    6162        # The directory for zonefile: files.  The daemon chdirs here.
     
    311312        # RRLend
    312313
     314
     315#for I in `seq 16 31`; do echo -e "zone:\n\tname: $I.172.in-addr-arpa\n\tzonefile: /tmp/db.$I.172.in-addr-arpa\n"; done
    313316zone:
    314317        name: 16.172.in-addr.arpa
    315         zonefile: /usr/local/etc/nsd/16.172.in-addr.arpa.zone
    316 
     318        zonefile: /tmp/db.16.172.in-addr.arpa
     319
     320zone:
     321        name: 17.172.in-addr.arpa
     322        zonefile: /tmp/db.17.172.in-addr.arpa
     323
     324zone:
     325        name: 18.172.in-addr.arpa
     326        zonefile: /tmp/db.18.172.in-addr.arpa
     327
     328zone:
     329        name: 19.172.in-addr.arpa
     330        zonefile: /tmp/db.19.172.in-addr.arpa
     331
     332zone:
     333        name: 20.172.in-addr.arpa
     334        zonefile: /tmp/db.20.172.in-addr.arpa
     335
     336zone:
     337        name: 21.172.in-addr.arpa
     338        zonefile: /tmp/db.21.172.in-addr.arpa
     339
     340zone:
     341        name: 22.172.in-addr.arpa
     342        zonefile: /tmp/db.22.172.in-addr.arpa
     343
     344zone:
     345        name: 23.172.in-addr.arpa
     346        zonefile: /tmp/db.23.172.in-addr.arpa
     347
     348zone:
     349        name: 24.172.in-addr.arpa
     350        zonefile: /tmp/db.24.172.in-addr.arpa
     351
     352zone:
     353        name: 25.172.in-addr.arpa
     354        zonefile: /tmp/db.25.172.in-addr.arpa
     355
     356zone:
     357        name: 26.172.in-addr.arpa
     358        zonefile: /tmp/db.26.172.in-addr.arpa
     359
     360zone:
     361        name: 27.172.in-addr.arpa
     362        zonefile: /tmp/db.27.172.in-addr.arpa
     363
     364zone:
     365        name: 28.172.in-addr.arpa
     366        zonefile: /tmp/db.28.172.in-addr.arpa
     367
     368zone:
     369        name: 29.172.in-addr.arpa
     370        zonefile: /tmp/db.29.172.in-addr.arpa
     371
     372zone:
     373        name: 30.172.in-addr.arpa
     374        zonefile: /tmp/db.30.172.in-addr.arpa
     375
     376zone:
     377        name: 31.172.in-addr.arpa
     378        zonefile: /tmp/db.31.172.in-addr.arpa
     379
     380zone:
     381        name: wleiden.net
     382        zonefile: /tmp/db.wleiden.net
Note: See TracChangeset for help on using the changeset viewer.