If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since september. Please use hippie2000@webnmail.de instead.

0
U

Property:ddnsd (avmcmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> ddnsd (avmcmd) @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Gallery

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Info
  
Name-Collision - multiple objects in this wiki use the name ddnsd!
ddnsd (avmcmd) Dynamic DNS daemon.
ddnsd (process) Dynamic DNS daemon.
ddnsd (watchdog) Dynamic DNS daemon.

AVM-Command

Goto:   Endpoints  -  Events  -  Config  -  Source  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

fw 7.29 help:

root@fritz2:/var/mod/root# ddnsd -?

usage: ddnsd ddnsd [options]

options:
  -?                 - print this help
  -f                 - run in forground. (NOTSET)
  -s                 - stop daemon. (NOTSET)
  -v                 - verbose. (NOTSET)
  -p STRING          - Pidfile. ("/var/run/ddnsd.pid")
  -I                 - send ddnsd a SIGHUP. (NOTSET)
  -t                 - option will be ignored. (NOTSET)
  -D STRING          - switch debug logs on. (FUNC)

start server:   ddnsd
stop server :   ddnsd -s

Endpoints

aicmd endpoint(s) provided by ddnsd, with these functions: (fw 7.29)

root@fritz1:/var/mod/root# aicmd ddnsd

# provided by ddnsd: - fw 7.29+

HELP                                     - show help
SLABDUMP                                 - show slab allocation
SLABSHOW                                 - show slab information
QUIT                                     - disconnect

ddns status                              - show status

# provided by libewnwlinux.so: - fw 7.01+

ewnwlinux show csockshell                - show shells running
ewnwlinux show genetlink                 - show gerneric netlink families

# provided by libavmcsock.so: - fw 7.01+

avmcsock show csock                      - show all csock
avmcsock show dnsconfig                  - show all dns context
avmcsock show timercb                    - show all timer
avmcsock show debughandles               - show all debughandles
avmcsock show cprocess                   - show all processes
avmcsock set debug                       - set debug flags

# provided by libavmcsock.so: - fw 7.29+

avmcsock show cbcontext                  - show all cbdata
avmcsock show daemon                     - show daemon status
avmcsock show cbuf                       - show cbuf status

# provided by libavmcsock.so: - fw 7.39+

avmcsock getsymbol <address>             - get symbol for address
avmcsock show dnsglobal                  - show all dns global values
avmcsock show dnscache                   - show cache
avmcsock show dnsqueries                 - show all pending queries
avmcsock show avmipc [endpoint shmatch]  - show avmipc events and states
avmcsock ctimer show                     - show all timer
avmcsock ctimer overview                 - show ctimer overview
avmcsock iotrace format unctrl|hexdump   - set format for csock iotrace
avmcsock iotrace file                    - enable iotrace to file
avmcsock iotrace enable                  - enable iotrace via debugmsg
avmcsock iotrace disable                 - disable iotrace
avmcsock iotrace match help|<match>      - show allowed matches or set match
avmcsock iotrace reset                   - remove all matches
avmcsock iotrace show                    - show configuration

msgsend endpoint(s) provided by ddnsd, with these functions: (endpoints + commands, collected manually)

ddnsd reload      # from ddnsd.service

Events

Daily updated index of AVM-Events and AVMIPC-Datastore nodes affecting this command. Last update: 2023-01-31 06:33 GMT.
The owners of Event-Sinks and Event-Sources are manual research, which may be incomplete or even wrong.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.
A ** in the Mod column marks info from Supportdata2 probes, which by their nature will stay way more incomplete.
A - in the Mod column marks manual research, the Firmware then shows where the item occurs, not the Relation.

Relation Typ Object Mod Firmware Info Origin
Netlink family NETLINK_ROUTE 6** 7.29 - 7.51 Communication channel between routing dæmons and the kernel packet forwarding (#0) Linux
Multicast group RTMGRP_IPV4_IFADD 6** 7.29 - 7.51 IPv4 address change of a Network-Interface Linux
Multicast group RTMGRP_IPV4_ROUTE 6** 7.29 - 7.51 IPv4 Routing Table change Linux
Multicast group RTMGRP_IPV6_IFADDR 6** 7.29 - 7.51 IPv6 address change of a Network-Interface Linux
Multicast group RTMGRP_IPV6_ROUTE 6** 7.29 - 7.51 IPv6 Routing Table change Linux
Multicast group RTMGRP_LINK 6** 7.29 - 7.51 Creation / deletion or up / down change of a Network-Interface. Linux
Multicast group RTMGRP_NOTIFY 6** 7.29 - 7.51 Enable notification about changes in subscribed rtnetlink groups Linux
Multicast group RTMGRP_TC 6** 7.29 - 7.51 Packet Scheduler Traffic Control change Linux
Endpoint sock me_ddnsd.ctl 67* 5.28 - 7.51 avmipc_command endpoint of ddnsd AVM
Listens to avmipc @ 16** 7.12 - 7.51 Special event for listeners of nameless private messages. AVM
Listens to avmipc aicmd_listener 15** 7.29 - 7.51 Special event covering all aicmd compatible listeners. AVM
Listens to avmipc NW_IPC_EVT_OAUTH_COM_CONTROLLER 3** 7.29 - 7.51 TODO AVM
Listens to avmipc NW_IPC_STA_OAUTH_SERVICE_STATES 3** 7.29 - 7.51 TODO AVM
Listens to avmipc STATE_EXTADDRSTATUS_FBSTATE 14** 7.29 - 7.51 State of all public IP addresses in JSON format. AVM
14 event relations for this command

Config

Daily updated index of Configuration files accessed by this command. Last update: 2023-01-31 06:33 GMT.
A - in the Mod column marks manual research, the Firmware then shows where the item occurs, not the Relation.

Relation Typ Object Mod Firmware Info Origin
Config from tffs ar7.cfg (tffs) - 4.07 - 7.51 TODO AVM
Config from tffs tr069.cfg (tffs) - 4.07 - 7.51 TODO AVM
2 config relations for this command

Source

The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.39 source files:

$ strings /sbin/ddnsd | grep -e '\.c$' -e '\.cpp$'

ar7/multid/ddnsd.c
ar7/multid/ddns.c
ar7/multid/ddns_parse_url.c  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2023-01-31 07:12 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Started by serv ddnsd.service 26 7.39 - 7.51 supervisor service for ddnsd. AVM
Runs as proc ddnsd (process) 37* 5.50 - 7.51 Dynamic DNS daemon. AVM
Registers wdog ddnsd (watchdog) 33* 6.26 - 7.51 Dynamic DNS daemon. AVM
Serving sock me_ddnsd.ctl 67* 5.28 - 7.51 avmipc_command endpoint of ddnsd AVM
Depends on lib ld.so 25 7.08 - 7.51 Dynamic linker / loader Linux
Depends on lib libar7cfg.so 71 5.27 - 7.51 TFFS-Configuration API to ar7.cfg and many more. AVM
Depends on lib libavm_event.so 51 5.27 - 6.110 AVM-Events management API AVM
Depends on lib libavmauth.so 50 6.50 - 7.51 Fritzbox authentification helpers AVM
Depends on lib libavmcipher.so 56 6.35 - 7.51 AES / DES / Rijndael encryption / decryption. AVM
Depends on lib libavmcsock.so 71 5.27 - 7.51 Networking, I/O and helper functions AVM
Depends on lib libavmfbconf.so 26 7.39 - 7.51 API to hardcoded fbconf.cfg AVM
Depends on lib libavmfbstate.so 40 7.19 - 7.51 IPC fritzbox state notification AVM
Depends on lib libavmhmac.so 71 5.27 - 7.51 HMAC / SHA / MD5 hashing. AVM
Depends on lib libboxlib.so 71 5.27 - 7.51 Box status, logging and statistics functions AVM
Depends on lib libboxnotify.so 1 6.35 boxnotifyd client API (old) AVM
Depends on lib libc.so 71 5.27 - 7.51 Standard C library Linux
Depends on lib libcrypto.so 43 7.08 - 7.51 OpenSSL general crypto and X.509 library Linux
Depends on lib libdl.so 61 5.27 - 7.50 Dynamic linking library Linux
Depends on lib libdputil.so 56 6.35 - 7.51 DataPipe / packet utilities AVM
Depends on lib libewnwjson.so 40 7.19 - 7.51 JSON helper functions AVM
Depends on lib libewnwlinux.so 71 5.27 - 7.51 Linux networking functions AVM
Depends on lib libewnwnet.so 68 5.51 - 7.51 Internet helper functions AVM
Depends on lib libgcc_s.so 36 5.27 - 6.110 GCC low-level runtime library Linux
Depends on lib libjasonclient.so 56 5.27 - 7.08 Update-Search - first generation - JASON AVM
Depends on lib libjuisclient.so 43 7.08 - 7.51 Update-Search - second generation - JUIS AVM
Depends on lib libm.so 7 7.19 - 7.50 C math library Linux
Depends on lib liboauth2.so 40 7.19 - 7.51 OAuth v2.0 authentificator Linux
Depends on lib libpthread.so 61 5.27 - 7.50 POSIX threading library Linux
Depends on lib librt.so 46 6.35 - 7.50 POSIX realtime extensions library Linux
Depends on lib libsvctl.so 40 7.19 - 7.51 supervisor control library AVM
Depends on lib libtiinterpreter.so 26 7.39 - 7.51 Preprocessor for SSI-Files by TI. AVM
Depends on lib libwdt.so 56 6.35 - 7.51 AVM-Watchdogs management API AVM
Depends on lib libwebkpiclient.so 23 7.39 - 7.51 KPI sensor for system parts which use HTTP / HTTPS AVM
Depends on lib libwebsrv.so 56 6.35 - 7.51 HTTP / HTTPS webserver and tools. AVM
Depends on lib libyajl.so 40 7.19 - 7.51 Event-driven JSON parser Linux
Depends on lib libz.so 44 6.83 - 7.51 Zlib compressor / decompressor Linux
36 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2023-01-31 05:50 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box WLAN 3270 5.29 - 5.54 /sbin 55.2k - 55.3k
FRITZ!Box WLAN 3270 v3 5.29 - 5.54 /sbin 55.2k - 55.3k
FRITZ!Box WLAN 3270 IT 5.51 - 5.52 /sbin 55.3k
FRITZ!Box 3272 5.50 - 6.88 /sbin 55.2k - 70.6k
FRITZ!Box WLAN 3370 5.29 - 6.55 /sbin 54.8k - 70.1k
FRITZ!Box 3390 5.50 - 6.55 /sbin 54.8k - 70.1k
FRITZ!Box 3490 (main) 6.20 - 7.30 /sbin 63.3k - 86.1k
FRITZ!Box 4020 6.27 - 7.02 /sbin 63.0k - 70.0k
FRITZ!Box 4040 6.50 - 7.39 /sbin 52.5k - 73.8k
FRITZ!Box 4060 7.26 - 7.39 /sbin 73.5k - 73.8k
FRITZ!Box 5490 (main) 6.51 - 7.29 /sbin 66.0k - 86.1k
FRITZ!Box 5491 (main) 7.01 - 7.29 /sbin 69.1k - 86.1k
FRITZ!Box 5530 Fiber (main) 7.21 - 7.30 /sbin 85.9k - 86.0k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.39 /sbin 73.5k - 73.8k
FRITZ!Box 6320 Cable v1 6.03 - 6.04 /sbin 47.1k
FRITZ!Box 6320 Cable v2 6.21 /sbin 51.9k
FRITZ!Box 6360 Cable 6.04 - 6.51 /sbin 47.1k - 58.5k
FRITZ!Box 6430 Cable (arm) 6.84 - 7.29 /sbin 56.4k - 73.5k
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /sbin 56.4k - 73.5k
FRITZ!Box 6490 Cable (arm) 6.20 - 7.39 /sbin 52.1k - 85.7k
FRITZ!Box 6490 Cable (atom) 6.83 - 7.39 /sbin 56.4k - 85.7k
FRITZ!Box 6590 Cable (arm) 6.83 - 7.39 /sbin 56.4k - 85.7k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.39 /sbin 56.4k - 85.7k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.39 /sbin 58.7k - 90.0k
FRITZ!Box 6591 Cable (atom) 7.04 - 7.39 /sbin 58.7k - 90.0k
FRITZ!Box 6660 Cable (arm) 7.14 - 7.39 /sbin 58.3k - 90.0k
FRITZ!Box 6660 Cable (atom) 7.14 - 7.39 /sbin 58.3k - 90.0k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.50 /sbin 73.6k - 90.0k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.50 /sbin 73.6k - 90.0k
FRITZ!Box 6810 LTE 5.27 - 6.34 /sbin 54.8k - 75.3k
FRITZ!Box 6820 LTE v1 6.40 - 7.29 /sbin 66.1k - 86.1k
FRITZ!Box 6820 LTE v2 6.40 - 7.29 /sbin 66.1k - 86.1k
FRITZ!Box 6820 LTE v3 7.19 - 7.29 /sbin 86.1k
FRITZ!Box 6840 LTE 5.29 - 6.87 /sbin 54.8k - 70.0k
FRITZ!Box 6842 LTE 6.01 - 6.34 /sbin 54.9k - 63.4k
FRITZ!Box 6850 LTE 7.21 - 7.39 /sbin 73.6k - 86.8k
FRITZ!Box 6850 5G 7.24 - 7.39 /sbin 73.6k - 73.8k
FRITZ!Box 6890 LTE 6.84 - 7.39 /sbin 65.9k - 86.8k
FRITZ!Box 6890 LTE v1 6.84 - 7.39 /sbin 65.9k - 86.8k
FRITZ!Box 6890 LTE v2 6.84 - 7.39 /sbin 65.9k - 86.8k
FRITZ!Box Fon WLAN 7240 5.29 - 6.06 /sbin 55.2k - 57.4k
FRITZ!Box Fon WLAN 7270 v2 5.27 - 6.06 /sbin 53.2k - 57.4k
FRITZ!Box Fon WLAN 7270 v3 5.27 - 6.06 /sbin 53.2k - 57.4k
FRITZ!Box 7272 5.55 - 6.88 /sbin 56.9k - 70.6k
FRITZ!Box 7312 5.29 - 6.55 /sbin 54.5k - 70.6k
FRITZ!Box Fon WLAN 7320 5.29 - 6.34 /sbin 54.5k - 63.4k
FRITZ!Box 7330 5.29 - 6.55 /sbin 54.8k - 70.6k
FRITZ!Box 7330 SL 5.29 - 6.55 /sbin 54.5k - 70.6k
FRITZ!Box Fon WLAN 7340 5.51 - 6.06 /sbin 55.6k - 65.0k
FRITZ!Box Fon WLAN 7360 SL 5.29 - 6.34 /sbin 54.8k - 63.5k
FRITZ!Box Fon WLAN 7360 v1 5.29 - 6.35 /sbin 54.8k - 63.5k
FRITZ!Box Fon WLAN 7360 v2 5.29 - 6.87 /sbin 54.8k - 70.0k
FRITZ!Box 7362 SL 5.53 - 7.13 /sbin 54.8k - 72.9k
FRITZ!Box 7369 6.30 - 6.32 /sbin 63.5k
FRITZ!Box Fon WLAN 7390 5.50 - 6.87 /sbin 53.5k - 75.4k
FRITZ!Box 7412 6.21 - 6.87 /sbin 63.3k - 70.0k
FRITZ!Box 7430 6.26 - 7.29 /sbin 63.8k - 86.1k
FRITZ!Box 7490 (main) 5.57 - 7.51 /sbin 56.9k - 90.9k
FRITZ!Box 7510 7.30 - 7.39 /sbin 73.5k - 73.8k
FRITZ!Box 7520 6.98 - 7.50 /sbin 54.5k - 73.8k
FRITZ!Box 7520 v2 (arm) 7.30 - 7.50 /sbin 73.6k - 73.8k
FRITZ!Box 7530 6.93 - 7.51 /sbin 54.5k - 73.8k
FRITZ!Box 7530 AX 7.20 - 7.39 /sbin 73.7k - 77.9k
FRITZ!Box 7560 6.51 - 7.29 /sbin 65.7k - 86.0k
FRITZ!Box 7580 6.51 - 7.29 /sbin 65.7k - 86.0k
FRITZ!Box 7581 6.54 - 7.16 /sbin 52.4k - 61.6k
FRITZ!Box 7582 6.83 - 7.16 /sbin 52.6k - 61.6k
FRITZ!Box 7583 7.01 - 7.31 /sbin 69.1k - 86.0k
FRITZ!Box 7583 VDSL 7.19 - 7.31 /sbin 86.0k
FRITZ!Box 7590 6.83 - 7.51 /sbin 65.9k - 90.8k
FRITZ!Box 7590 AX 7.19 - 7.39 /sbin 82.6k - 90.8k
71 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2023-01-31 07:12 GMT.

Firmware Symbol
5.27 - 7.08 FreeDigestAuth
5.27 - 7.08 ParseServerDigestAuthHeader
5.27 - 7.08 PrepareClientNonce
5.27 - 7.51 SplitHttpHeader
5.27 - 7.51 ddns_add_account
5.27 - 7.51 ddns_exit
5.27 - 7.51 ddns_init
6.10 - 7.51 ddns_ipv6_lan_prefix_changed
5.27 - 7.51 ddns_ipv6addr_for_avm_ddns_proxied_device
5.27 - 7.51 ddns_reconfig_begin
5.27 - 7.51 ddns_reconfig_end
5.27 - 7.51 ddns_second
7.19 - 7.51 ddns_set_ignore_callback
5.27 - 7.51 ddns_start
5.27 - 7.08 digest_calc_response
7.19 - 7.31 findname
7.19 - 7.31 genname
5.27 - 7.51 main
6.98 - 7.51 parse_ddns_url
7.19 - 7.31 putlong
7.19 - 7.31 putmem
7.19 - 7.31 putname
7.19 - 7.31 putname_raw
7.19 - 7.31 putshort
24 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.