linux_router:dns_dhcp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_router:dns_dhcp [2023-07-04 Tue wk27 11:42] baumkplinux_router:dns_dhcp [2023-07-08 Sat wk27 10:56] (current) – [Bind9 Control Nomenclature] baumkp
Line 4: Line 4:
 =====Outdated===== =====Outdated=====
  
-I have moved my DNS and DHCP servers to Docker.  I am still using ISC_Bind9, but am now using ISC_Kea for DHCP as ISC_Bind is no longer supported.+I have moved my DNS and DHCP servers to Docker, [[https://wiki.kptree.net/doku.php?id=docker_notes:docker-dns#docker_-_dns_server|Docker-DNS Server]].  I am still using ISC_Bind9, but am now using ISC_Kea for DHCP as ISC_Bind is no longer supported as of 2022.
  
-Further to this I am no looking at backups for both these services on my local area network.+Further to this I am no looking at backups for both these services on my local area network.  Whilst these services worked reliably well, when ever I shutdown the the router with DNS/DHCP servers my LAN would stop working. Hence the need for back-up DNS
  
-These notes still have some utility.  I will presumably archive (tl;dr; rollup) eventually.+These notes still have some utility.  I will presumably archive (tl;dr; roll-up) eventually.
  
-Actually my router that I was running these services was totally lost when upgrading +Actually my router that I was running these services was totally lost when upgrading from Debian 11 to Debian 12, circa June 2023. So I had to rebuild from scratch using these various notes.
  
 This setup was primarily written in 2017 and is based upon ISC Bind9 and ISC DHCP, which are the main internet backbone software used for DNS and DHCP.   This setup was primarily written in 2017 and is based upon ISC Bind9 and ISC DHCP, which are the main internet backbone software used for DNS and DHCP.  
Line 36: Line 36:
   *''sudo cp /etc/bind/named.conf.default-zones /etc/bind/default.named.conf.default-zones''   *''sudo cp /etc/bind/named.conf.default-zones /etc/bind/default.named.conf.default-zones''
  
 +====Bind9 Control Nomenclature====
 +There are a number of "names" that are used with bind9 dns.
 +  * "bind9" is the DNS software is known as isc_bind9, and systemctl in some Linux refers to the service as bind9.service.
 +  * "named" is the normal name of the isc-bind9 code that is call to start the application 
 +  * "rndc" is an application used to control a running bind9 instance, e.g. ''rndc reload'' to reload the configuration
 ====Setting Bind9 to IPv4 Mode==== ====Setting Bind9 to IPv4 Mode====
 ''sudo vim /etc/default/bind9'' or ''sudo vim /etc/default/named'', set following parameter: ''OPTIONS="-u bind -4"'' ''sudo vim /etc/default/bind9'' or ''sudo vim /etc/default/named'', set following parameter: ''OPTIONS="-u bind -4"''
  • /app/www/public/data/attic/linux_router/dns_dhcp.1688442176.txt.gz
  • Last modified: 2023-07-04 Tue wk27 11:42
  • by baumkp