DDNS Monitoring: Difference between revisions
Jump to navigation
Jump to search
Created page with "...wanna see of DDNS is working between NAMED / BIND and OpenWRT's DDNS Service (Scripts)? On the NAMED / BIND Server for monitoring Network Traffic related to DDNS (requires setting up appropriate logging in named.conf, not covered here): <code>tail -n0 -F /WhatEverPath/WhatEverFileName.log 2>/dev/null | grep --line-buffered -Ei 'signer "ddns" approved|update .*approved|updating zone|adding an RR|deleting rrset|BADKEY|BADSIG|BADTIME|NOTAUTH|REFUSED|denied'</code> On t..." |
mNo edit summary |
||
| Line 1: | Line 1: | ||
...wanna see | ...wanna see if DDNS is working between OpenWRT's DDNS Service (Scripts) and NAMED / BIND? | ||
On the NAMED / BIND Server for monitoring Network Traffic related to DDNS (requires setting up appropriate logging in named.conf, not covered here): <code>tail -n0 -F /WhatEverPath/WhatEverFileName.log 2>/dev/null | grep --line-buffered -Ei 'signer "ddns" approved|update .*approved|updating zone|adding an RR|deleting rrset|BADKEY|BADSIG|BADTIME|NOTAUTH|REFUSED|denied'</code> | On the NAMED / BIND Server for monitoring Network Traffic related to DDNS (requires setting up appropriate logging in named.conf, not covered here): <code>tail -n0 -F /WhatEverPath/WhatEverFileName.log 2>/dev/null | grep --line-buffered -Ei 'signer "ddns" approved|update .*approved|updating zone|adding an RR|deleting rrset|BADKEY|BADSIG|BADTIME|NOTAUTH|REFUSED|denied'</code> | ||
Latest revision as of 18:10, 28 June 2026
...wanna see if DDNS is working between OpenWRT's DDNS Service (Scripts) and NAMED / BIND?
On the NAMED / BIND Server for monitoring Network Traffic related to DDNS (requires setting up appropriate logging in named.conf, not covered here): tail -n0 -F /WhatEverPath/WhatEverFileName.log 2>/dev/null | grep --line-buffered -Ei 'signer "ddns" approved|update .*approved|updating zone|adding an RR|deleting rrset|BADKEY|BADSIG|BADTIME|NOTAUTH|REFUSED|denied'
On the OpenWRT DDNS Server;
rm -f /var/run/ddns/WhatEverName.update
rm -f /var/run/ddns/WhatEverName.update
rm -f /var/run/ddns/WhatEverName.update
service ddns restartTo Sync the Journal and Zone File (so results can be seen in the Zone File): rndc sync
Example /etc/config/ddns Config File that works in 2026 with HMAC-SHA256 'Password Encryption';
config ddns 'global'
option ddns_dateformat '%F %R'
option ddns_loglines '250'
option use_curl '1'
option ddns_rundir '/var/run/ddns'
option ddns_logdir '/var/log/ddns'
option upd_privateip '1'
config service 'WhatEverServiceName'
option service_name 'bind-nsupdate'
option lookup_host 'WhatEverHostLookUp'
option username 'hmac-sha256:ddns'
option password 'WhatEverPassword'
option domain 'WhatEverDomain'
option enabled '1'
option ip_source 'web'
option ip_url 'https://api.ipify.org'
option bind_network 'wan'
option force_ipversion '1'
option interface 'wan'
option dns_server 'WhatEverDNSServer'
option check_unit 'minutes'
option check_interval '5'
option force_unit 'hours'
option force_interval '1'
config service 'WhatEverServiceName'
option service_name 'bind-nsupdate'
option lookup_host 'WhatEverHostLookUp'
option username 'hmac-sha256:ddns'
option password 'WhatEverPassword'
option domain 'WhatEverDomain'
option enabled '1'
option ip_source 'interface'
option ip_interface 'wan'
option bind_network 'wan'
option force_ipversion '1'
option interface 'wan'
option dns_server 'WhatEverDNSServer'
option check_unit 'minutes'
option check_interval '5'
option force_unit 'hours'
option force_interval '1'
config service 'WhatEverServiceName'
option service_name 'bind-nsupdate'
option lookup_host 'WhatEverHostLookUp'
option username 'hmac-sha256:ddns'
option password 'WhatEverPassword'
option domain 'WhatEverDomain'
option enabled '1'
option ip_source 'network'
option ip_network 'wan'
option bind_network 'wan'
option force_ipversion '1'
option interface 'wan'
option dns_server 'WhatEverDNSServer'
option check_unit 'minutes'
option check_interval '5'
option force_unit 'hours'
option force_interval '1'