Set up DNS server #2

Open
opened 2020-10-15 18:19:20 +02:00 by kreyren · 0 comments
Owner

This is admin log for creating DNS server on dreamon.rixotstudio.cz

Relevant: https://downloads.isc.org/isc/bind9/9.16.7/doc/arm/html/index.html#
Relevant: Basics of DNS server https://www.youtube.com/watch?v=uOfonONtIuk&pbjreload=101

Terminology

IP (Internet Protocol)

Numbers that identify your system on the internet and allows you connections.

There are two types of IP: IPv4 and IPv6

IPv4 looks like 89.176.197.177
IPv6 looks like fe80::ba70:f4ff:fe34:36e5

NS (Name Server)

Software that runs on servers which turns domain into an IP on request

Domain

Human memorable alias to IP i.e. Google.com is a domain that points to the IP 172.217.23.238 (as of 15.10.2020) with the help of a NS or hosts file (deprecated as none likes going to the townhall to get file on their system).

ISP (Internet Service Provider)

The person/company who took a cable (or anything that can transmit data) and connected it over the world allowing you the internet connection.

TLD (Top-Level Domain name)

NS authority that provides IP to specified domain extension, for example in google.com the com is top level domain

What the fuck is DNS Server?

By default your system can only reach IP adresses i.e 187.489.114.23 which are hard to memorize by humanoids and so DNS was created to allow you to use https://google.com and expect it to work.

In practice the connection for google.com usually works as Your_System -> ISP -> NS -> Root NS -> .com name server (tld name server) -> ns.google.com -> IP

There are around 20 name servers which are hardcodded ran by NASA(?) and stuff.


We are using bind9 made by Internet Systems Consortium for our DNS server

  1. Install net-dns/bind
  2. Nuke it's /{etc,var}/bind dir and create a new directory /etc/bind with bind:bind 0777 rights.
  3. Run rndc-confgen
# Generate rndc.conf file
rndc-confgen -A hmac-sha512 -b 512 -t /bedrock/strata/exherbo/var/bind -u bind > /etc/bind/rndc.conf
  1. Configure /etc/bind/named.conf respecting FHS 3.0 standard.
This is admin log for creating DNS server on dreamon.rixotstudio.cz Relevant: https://downloads.isc.org/isc/bind9/9.16.7/doc/arm/html/index.html# Relevant: Basics of DNS server https://www.youtube.com/watch?v=uOfonONtIuk&pbjreload=101 ### Terminology #### IP (Internet Protocol) Numbers that identify your system on the internet and allows you connections. There are two types of IP: IPv4 and IPv6 IPv4 looks like 89.176.197.177 IPv6 looks like fe80::ba70:f4ff:fe34:36e5 #### NS (Name Server) Software that runs on servers which turns domain into an IP on request #### Domain Human memorable alias to IP i.e. `Google.com` is a domain that points to the IP 172.217.23.238 (as of 15.10.2020) with the help of a NS or hosts file (deprecated as none likes going to the townhall to get file on their system). #### ISP (Internet Service Provider) The person/company who took a cable (or anything that can transmit data) and connected it over the world allowing you the internet connection. #### TLD (Top-Level Domain name) NS authority that provides IP to specified domain extension, for example in google.com the `com` is top level domain ### What the fuck is DNS Server? By default your system can only reach IP adresses i.e 187.489.114.23 which are hard to memorize by humanoids and so DNS was created to allow you to use `https://google.com` and expect it to work. In practice the connection for google.com usually works as Your_System -> ISP -> NS -> Root NS -> .com name server (tld name server) -> ns.google.com -> IP There are around 20 name servers which are hardcodded ran by NASA(?) and stuff. --- We are using bind9 made by Internet Systems Consortium for our DNS server 1. Install net-dns/bind 2. Nuke it's `/{etc,var}/bind` dir and create a new directory `/etc/bind` with bind:bind 0777 rights. 3. Run `rndc-confgen` ```sh # Generate rndc.conf file rndc-confgen -A hmac-sha512 -b 512 -t /bedrock/strata/exherbo/var/bind -u bind > /etc/bind/rndc.conf ``` 4. Configure `/etc/bind/named.conf` respecting FHS 3.0 standard.
kreyren added spent time 2020-10-15 18:20:24 +02:00
82h 11min
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Total Time Spent: 3 days 10 hours
kreyren
3 days 10 hours
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kreyren/paludis-config#2
No description provided.