Browse Source

initial capture

master
root 1 year ago
parent
commit
1b67cdd8df
5 changed files with 60 additions and 3 deletions
  1. +4
    -0
      .gitignore
  2. +4
    -0
      README.adoc
  3. +0
    -3
      README.md
  4. +29
    -0
      devuan.dev.zone
  5. +23
    -0
      nsd.conf

+ 4
- 0
.gitignore View File

@@ -0,0 +1,4 @@
nsd_control.key
nsd_control.pem
nsd_server.key
nsd_server.pem

+ 4
- 0
README.adoc View File

@@ -0,0 +1,4 @@
nameserver
==========

This directory contains set up of Devuan name server sub system.

+ 0
- 3
README.md View File

@@ -1,3 +0,0 @@
# nameserver

Setup of Devuan name server sub system

+ 29
- 0
devuan.dev.zone View File

@@ -0,0 +1,29 @@
;
; This is NSD's master zone file for devuan.dev
; (it has bind9 format)

$ORIGIN devuan.dev.
$TTL 86400

@ IN SOA ns1.devuan.dev. ns2.devuan.dev (
12 ; serial number for this zone file
21600 ; refresh
7200 ; retry
691200 ; expire
86400 ) ; default TTL and end of header

; NS
;ns1 IN NS 192.168.97.83
@ IN NS ns2
@ IN NS ns3

; MX
@ MX 10 mail.devuan.dev.

; A / AAAA /CNAME
gitea IN A 5.196.38.17
git IN CNAME git.devuan.dev.
gitlab IN CNAME git.devuan.org.
mail IN CNAME mx.devuan.org.
ns2 IN A 5.196.38.17
ns3 IN A 108.61.184.72

+ 23
- 0
nsd.conf View File

@@ -0,0 +1,23 @@
# NSD configuration file for Debian.
#
# See the nsd.conf(5) man page.
#
# See /usr/share/doc/nsd/examples/nsd.conf for a commented
# reference config file.
#
# The following line includes additional configuration files from the
# /etc/nsd/nsd.conf.d directory.

# WARNING: The glob style doesn't work yet...
# include: "/etc/nsd/nsd.conf.d/*.conf"

zone:
# This server is zone master.
name: devuan.dev
zonefile: /etc/nsd/%s.zone
# Following 2 for telling secondary at 192.168.97.92
notify: 192.168.97.92 NOKEY
provide-xfr: 192.168.97.92 NOKEY
# Following 2 for telling secondary at 10.0.10.1
notify: 10.0.10.1 NOKEY
provide-xfr: 10.0.10.1 NOKEY

Loading…
Cancel
Save