{"id":22276191,"url":"https://github.com/noud/infra-dns","last_synced_at":"2026-05-04T02:37:41.677Z","repository":{"id":52377130,"uuid":"300752958","full_name":"noud/infra-dns","owner":"noud","description":"internal DNS server infrastructure on APT Linux.","archived":false,"fork":false,"pushed_at":"2022-01-03T11:02:42.000Z","size":21005,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-25T17:40:17.966Z","etag":null,"topics":["apt","bind","dns","linux"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security-pcsc.yml","support":null},"funding":{"github":"noud"}},"created_at":"2020-10-02T22:53:52.000Z","updated_at":"2022-01-03T11:02:45.000Z","dependencies_parsed_at":"2022-08-21T11:30:34.814Z","dependency_job_id":null,"html_url":"https://github.com/noud/infra-dns","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/noud/infra-dns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Finfra-dns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Finfra-dns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Finfra-dns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Finfra-dns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noud","download_url":"https://codeload.github.com/noud/infra-dns/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Finfra-dns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32592716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apt","bind","dns","linux"],"created_at":"2024-12-03T14:13:58.309Z","updated_at":"2026-05-04T02:37:41.659Z","avatar_url":"https://github.com/noud.png","language":"Shell","funding_links":["https://github.com/sponsors/noud"],"categories":[],"sub_categories":[],"readme":"# [DNS](http://en.wikipedia.org/wiki/Domain_Name_System)\n![dns](./doc/20201024_175247.jpg?raw=true \"dns\")\ninternal DNS server infrastructure on APT Linux.\n## Infrastructure\n### name servers\n| host | role | private FQDN | private IP address |\n| --- | --- | --- | --- |\n| ns1 | Primary DNS Server | ns1.net1.domain | 10.128.10.11 |\n| ns2 | Secondary DNS Server | ns2.net1.domain | 10.128.20.12 |\n\u003c!-- @todo ns3  Tertiary DNS Server  ns3.net1.domain  10.128.30.13 --\u003e\n### clients\n| host | role | private FQDN | private IP address |\n| --- | --- | --- | --- |\n| host1 | Generic host 1 | host1.net1.domain | 10.128.100.101 |\n| host2 | Generic host 2 | host2.net1.domain | 10.128.200.102 |\n## use\n```\nnoud@hp-prodesk-600-g2-dm:~/workspace/infra-dns$ nslookup\n\u003e ns1\nServer:         10.128.10.11\naddress:        10.128.10.11#53\n\nName:   ns1.net1.domain\naddress: 10.128.10.11\n\u003e ns2\nServer:         10.128.10.11\naddress:        10.128.10.11#53\n\nName:   ns2.net1.domain\naddress: 10.128.20.12\n\u003e host1\nServer:         10.128.10.11\naddress:        10.128.10.11#53\n\nName:   host1.net1.domain\naddress: 10.128.100.101\n\u003e exit\n```\n## install\n- add admin user\n- set private IP address with netmask ```255.255.0.0```\n- [Ansible](http://ansible.com)\n    - install\n    - configure host or network(s) of hosts by Ansible\n```\nsudo apt install -y ansible\nansible-galaxy collection install ansible.posix\n# on 10.128.10.11\nansible-vault create vault # edit, if you like\n# example content\n# vault_server_user: super_user\n# vault_sudo_pass: secret\n# vault_remote_ssh_user: remote_ssh_user\n# vault_remote_ssh_pass: remote_ssh_secret\n# vault_psql_pass: postgres\n# vault_docker_hub_username: hub_user\n# vault_docker_hub_password: hub_secret\nansible-playbook -i domain infra.yml --ask-vault-pass\n# on 10.128.100.101\n./bin/install-config-host1.sh\n```\n## inspired by\n[How To Configure BIND as a private Network DNS Server on Ubuntu 18.04](http://digitalocean.com/community/tutorials/how-to-configure-bind-as-a-private-network-dns-server-on-ubuntu-18-04)\n## hardware\n### broadband\n| brand | model |\n| --- | --- |\n| [Sierra Wireless](http://sierrawireless.com) | [FX100](http://sierrawireless.com/products-and-solutions/embedded-solutions/programmable-iot-gateways-modems/) |\n### router\n| brand | [SKU](http://en.wikipedia.org/wiki/Stock_keeping_unit) | alt | spec | IP addresses |\n| --- | --- | --- | --- | --- |\n| [Linksys](http://linksys.com) | [EA6900](http://linksys.com/us/support-product?pid=01t80000003KdHUAA0) | AC 1900 | 1GB \u0026 WiFi | 192.168.1.0/32\n| [NETGEAR](http://netgear.com) | [WINDR4500](http://netgear.com/support/product/WNDR4500.aspx) | N900 | 1GB \u0026 WiFi | 10.128.0.0/16\n### interfaces\n| brand | model |\n| --- | --- |\n| [EMINENT](http://eminent-online.com) | [EM1010 Rev 2](http://support.eminent-online.com/hc/en-us/articles/360009536679-EM1010-Download-Drivers-Software) |\n|  | EM4090 Rev 1 |\n|  | EM4090 Rev 2 |\n### [PC](http://en.wikipedia.org/wiki/Personal_computer)\n| brand | series | model | CPU | memory (GB) | MAC | private IP address |\n| --- | --- | --- | --- | --- | --- | --- |\n| [ASRock](http://asrock.com) | H61M | [DGS](http://download.asrock.com/Manual/H61M-DGS.pdf) | a64 |  | \n| \" | 880GMH | [USB3](http://download.asrock.com/Manual/880GMHUSB3.pdf) | a64 |  | | [ASUS](http://asus.com) |  |  | I386 |  |  |\n| \" |  | [p5](http://asus.com/Motherboards/P5B_Deluxe) |  |  |  |\n| [HISCOM]() |  | [HSP/300]() |  |  |  |\n| [HP](http://hp.com) | ProDesk | [600 G2 DM](http://support.hp.com/us-en/product/hp-prodesk-600-g2-desktop-mini-pc/8376393) | Core i7-6700T @ 2.80GHz * 8 | 32 |  | 10.128.10.11\n| [Intel](http://intel.com) | NUC | [5](http://intel.com/content/dam/support/us/en/documents/mini-pcs/nuc-kits/NUC5i3RYK_NUC5i5RYK_UserGuide.pdf) | Pentium E6500 @ 2.93GHz * 2 | 4 |  | 10.128.20.12\n| [Acer](http://acer.com) | Aspire | [Z5600](http://acer.com/ac/en/US/content/support-product/1243;-;AZ5600) | Celeron N3050 @ 1.60gHZ * 2 | 4 |  | 10.128.100.101\n| [Dell](http://dell.com) | Wyse | [3040](http://dell.com/support/manuals/nl/nl/nlbsdt1/wyse-3040-thin-client/3040_ug/welcome-to-dell-wyse-3040-thin-client?guid=guid-423f8ce2-8950-497f-88d3-22c2e1e3fe4a\u0026lang=en-us) | Cherry Trail x5 Z-8350 @ 1.44 GHz * 4 | 2 | 50:9A:4C:22:25:10 |  |\n| \" | \" | \" | \" | 2 | 6C:2B:59:5F:F8:E8 |  |\n### [USB](http://en.wikipedia.org/wiki/USB)s\n| group| brand | item | name | [GTIN](http://en.wikipedia.org/wiki/Global_Trade_Item_Number) | [EAN](http://en.wikipedia.org/wiki/International_Article_Number) | serial |\n| --- | --- | --- | --- | --- | --- | --- |\n|  | [Linkpro](http://linkpro.com.tw) | [USB-2204L](http://www.linkpro.com.tw/search_result.asp?keyin=USB-2204L\u0026Search=Go) | 4 port USB Hub |  |  |  |\n| [nedis](http://nedis.com) | [sWeex](http://nedis.com) | [US600](http://) | EXTERNAL 4 PORT USB 2.0 |  |  | 090325000269 |\n|  | [Trust](http://trust.com) | [14251](http://trust.com/en/product/14251-4-port-mini-usb-2-0-design-hub-hu-3340m) | 4 Port Mini USB 2.0 |  | 8713439142518 |  |\n|  | [hama](http://hama.com) | [00055348](https://www.hama.com/00055348/hama-35in1-usb-20-multi-card-reader-blue) | USB 2.0 Multi Card Reader | 4007249553485 |  |  |\n### [peripheral](http://en.wikipedia.org/wiki/Peripheral)\n| protocol | brand | model | what |\n| --- | --- | --- | --- |\n|  | [Jabra](http://jabra.com) | [Talk 30](http://jabra.com/bluetooth-headsets/jabra-talk-30) | headset |\n|  | [cellularline](http://cellularline.com) | [Motion In-Ear](http://cellularline.com/en/Voice-%26-Sport/Bluetooth-headsets/Motion-In-Ear---Universal/p/BTMOSQUITOK) | headset(streetware) |\n|  | KAZO | Girly | powerbank |\n|  | [PEAQ](http://imtron.com) | [PPA20BT](http://peaq-online.com/uploads/tx_fdproducts/PEAQ_Datenblatt_PPA20BT-SL.pdf) | headset |\n|  | bullet | Duck cylinder Bluetooth® speaker with rubber finish | speaker |\n|  | [Logitech](http://logitechg.com) | K520 | keyboard |\n|  |  | M310 | mouse |\n| [RC-5](http://en.wikipedia.org/wiki/RC-5) | [PHILIPS](http://philips.com) | a | remote control |\n|  | \" | b | \" |\n### displays\n| brand | model | version | release |\n| --- | --- | --- | --- |\n| [Philips CE](http://philips.nl) |  |  |  |\n| \" |  | Q581E-064.146 | 5/10/2007 11:03:58 |\n### [Point of Sale (POS)](http://en.wikipedia.org/wiki/Point_of_sale) [terminal](http://en.wikipedia.org/wiki/Payment_terminal)\n| brand | model |\n| --- | --- |\n| [Verifone](http://verifone.com) | [VX 820](http://verifone.com/en/us/devices/countertops-pin-pads/vx-820) |\n| \" | [VX 520](http://verifone.com/sites/default/files/VX520_Manual_English.pdf) |\n### [building management system (BMS)](http://en.wikipedia.org/wiki/Building_management_system)\n| brand | model |\n| --- | --- |\n| [Johnson Controls](http://johnsoncontrols.com/) | [VA-7482-0011](http://cgproducts.johnsoncontrols.com/MET_PDF/34636771.PDF) |\n| \" | [VA-7452-9001](http://cgproducts.johnsoncontrols.com/met_pdf/977324.pdf) |\n### [smartphone](http://en.wikipedia.org/wiki/Smartphone)\n| brand | family | model |\n| --- | --- | --- |\n| [Motorola](http://motorola.com) | [moto e](http://motorola.com/nl/smartphones/moto-e-family) | [7 PLUS](http://motorola.com/nl/smartphones-moto-e-plus-gen-7/p) |\n| [Samsung](http://samsung.com) | [Galaxy](http://samsung.com/us/galaxy/why-galaxy/) | [Galaxy Z Flip](https://downloadcenter.samsung.com/content/UM/202002/20200214193732764/SM-F700F_DS_UM_EU_QQ_Eng_Rev.1.0_200214.pdf) |\n…WIP…\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoud%2Finfra-dns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoud%2Finfra-dns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoud%2Finfra-dns/lists"}