OpenWRT DDNS: Difference between revisions

mNo edit summary
Line 41: Line 41:
*/usr/share/ddns: Location for other DDNS items (do not edit these)
*/usr/share/ddns: Location for other DDNS items (do not edit these)
*/usr/lib/ddns: Location for DDNS Scripts (do not edit these)
*/usr/lib/ddns: Location for DDNS Scripts (do not edit these)
*/tmp/run/ddns (Default storage location for DDNS information, can be changed)
*/tmp/log/ddns (Default location for log files, can be changed)


====DDNS References from OpenWRT====
====DDNS References from OpenWRT====
Line 388: Line 390:
*https://stackoverflow.com/questions/11153958/how-to-enable-named-bind-dns-full-logging (the first person,  [https://stackoverflow.com/users/1618161/steven-carr Steven Carr], that answers the question is greate, and I hate, hate, hate the idiot user ( [https://stackoverflow.com/users/1439767/alexsergeyev alexsergeyev]) that replied to this great answer by questioning why it is configured such that the logging to go to separate files.  Well alexsergeyev, you're too stupid to understand the answer.  So shut up and let smart users like [https://stackoverflow.com/users/1618161/steven-carr Steven Carr] answer the questions and quit bothering them since you have nothing useful to contribute.)
*https://stackoverflow.com/questions/11153958/how-to-enable-named-bind-dns-full-logging (the first person,  [https://stackoverflow.com/users/1618161/steven-carr Steven Carr], that answers the question is greate, and I hate, hate, hate the idiot user ( [https://stackoverflow.com/users/1439767/alexsergeyev alexsergeyev]) that replied to this great answer by questioning why it is configured such that the logging to go to separate files.  Well alexsergeyev, you're too stupid to understand the answer.  So shut up and let smart users like [https://stackoverflow.com/users/1618161/steven-carr Steven Carr] answer the questions and quit bothering them since you have nothing useful to contribute.)


==== Testing Things Using NSUPDATE ====
====Testing Things Using NSUPDATE====


* Create a "Key File" in Bind Format using the Key to test against a BIND / NAMED DDNS server;
*Create a "Key File" in Bind Format using the Key to test against a BIND / NAMED DDNS server;
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
key "WhatEverKeyName" {
key "WhatEverKeyName" {
Line 398: Line 400:
</syntaxhighlight>
</syntaxhighlight>


* Create a "Script File" for NSUPDATE (so the individual commands do not need to be entered);
*Create a "Script File" for NSUPDATE (so the individual commands do not need to be entered);
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
server IPAddressOrURLofWhatEverDNSServer (Example: 1.2.3.4 My.DNSServer.com)
server IPAddressOrURLofWhatEverDNSServer (Example: 1.2.3.4 My.DNSServer.com)
Line 408: Line 410:
</syntaxhighlight>
</syntaxhighlight>


* Run the Command: nsupdate -k WhatEverKeyFileName -v WhatScriptFileName -y
*Run the Command: nsupdate -k WhatEverKeyFileName -v WhatScriptFileName -y


==== Funky Errors with NSUPDATE? ====
====Funky Errors with NSUPDATE?====
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
  nsupdate --version
  nsupdate --version