Skip to content

Latest commit

 

History

History
96 lines (92 loc) · 4.78 KB

README.md

File metadata and controls

96 lines (92 loc) · 4.78 KB

dns internal DNS server infrastructure on APT Linux.

Infrastructure

name servers

host role private FQDN private IP address
ns1 Primary DNS Server ns1.net1.domain 10.128.10.11
ns2 Secondary DNS Server ns2.net1.domain 10.128.20.12

clients

host role private FQDN private IP address
host1 Generic host 1 host1.net1.domain 10.128.100.101
host2 Generic host 2 host2.net1.domain 10.128.200.102

use

noud@hp-prodesk-600-g2-dm:~/workspace/infra-dns$ nslookup
> ns1
Server:         10.128.10.11
address:        10.128.10.11#53

Name:   ns1.net1.domain
address: 10.128.10.11
> ns2
Server:         10.128.10.11
address:        10.128.10.11#53

Name:   ns2.net1.domain
address: 10.128.20.12
> host1
Server:         10.128.10.11
address:        10.128.10.11#53

Name:   host1.net1.domain
address: 10.128.100.101
> exit

install

  • add admin user
  • set private IP address with netmask 255.255.0.0
  • Ansible
    • install
    • configure host or network(s) of hosts by Ansible
sudo apt install -y ansible
ansible-galaxy collection install ansible.posix
# on 10.128.10.11
ansible-vault create vault
ansible-playbook -i domain all.yml --ask-vault-pass
# on 10.128.100.101
./bin/install-config-host1.sh

inspired by

How To Configure BIND as a private Network DNS Server on Ubuntu 18.04

hardware

router

brand SKU alt spec IP addresses
Linksys EA6900 AC 1900 1GB & WiFi 192.168.1.0/32
NETGEAR WINDR4500 N900 1GB & WiFi 10.128.0.0/16

interfaces

brand model
EMINENT EM1010 Rev 2
EM4090 Rev 1
EM4090 Rev 2
brand series model CPU memory (GB) private IP address
HP ProDesk 600 G2 DM Core i7-6700T @ 2.80GHz * 8 32 10.128.10.11
Intel NUC 5 Pentium E6500 @ 2.93GHz * 2 4 10.128.20.12
Acer Aspire Z5600 Celeron N3050 @ 1.60gHZ * 2 4 10.128.100.101
Dell Wyse 3040 Cherry Trail x5 Z-8350 @ 1.44 GHz * 4 2
ASUS p5
brand item name GTIN EAN
Linkpro USB-2204L 4 port USB Hub
Trust 14251 4 Port Mini USB 2.0 8713439142518
hama 00055348 USB 2.0 Multi Card Reader 4007249553485
brand model what
Jabra Talk 30 headset
KAZO Girly powerbank
PEAQ PPA20BT headset
bullet Duck cylinder Bluetooth® speaker with rubber finish speaker
Logitech K520 keyboard
M310 mouse
brand model
Samsung Galaxy Z Flip

…WIP…