OpenWRT DDNS: Difference between revisions

mNo edit summary
Line 35: Line 35:


<nowiki>**</nowiki> It is necessary to disable the DNS functionality of DNSMASQ for BIND / NAMED to function properly.  If DHCPD is used, and none of DNSMASQ's functionality is necessary, it is highly recommended to remove DNSMASQ instead of disabling it.  Odd issues seem to crop up if it remains installed, even if disabled.  
<nowiki>**</nowiki> It is necessary to disable the DNS functionality of DNSMASQ for BIND / NAMED to function properly.  If DHCPD is used, and none of DNSMASQ's functionality is necessary, it is highly recommended to remove DNSMASQ instead of disabling it.  Odd issues seem to crop up if it remains installed, even if disabled.  
==== Directories and Configuration File Locations ====
* /etc/config/ddns: File for configuring DDNS (this file is the one the LuCI GUI uses, but can be manually edited too)
* /usr/share/ddns: Location for other DDNS items (do not edit these)
* /usr/lib/ddns: Location for DDNS Scripts (do not edit these)
==== DDNS References from OpenWRT ====
Various Options Defined: https://openwrt.org/docs/guide-user/base-system/ddns (keep in mind for this page, it seems to be a bit out of date, there are errors like the stated directory for services files is /usr/lib/ddns/services/"WhatEverFileName" which is actually /usr/share/ddns/list


====Configuration for Client====
====Configuration for Client====
Line 137: Line 146:


*chown bind:bind /etc/bind (for example, as the location for files can anywhere)
*chown bind:bind /etc/bind (for example, as the location for files can anywhere)
*chmod 644 WhatEverMasterDirectoryForBIND and WhatEverFilesInThatDirectory


The bind User and Group are configured when the bind-server package is installed.  If the BIND / NAMED Daemon / Service doesn't have write permissions, the journal file cannot be created.  It results in a very, very obscure error in one of the below mentioned log files.
The bind User and Group are configured when the bind-server package is installed.  If the BIND / NAMED Daemon / Service doesn't have write permissions, the journal file cannot be created.  It results in a very, very obscure error in one of the below mentioned log files.