1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/examples/scripts/wins_hook
Andreas Schneider 3990c33efe examples: Reformat shell scripts
shfmt -f examples/ | xargs shfmt -w -p -i 0 -fn

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Feb 22 16:20:58 UTC 2022 on sn-devel-184
2022-02-22 16:20:58 +00:00
..
dns_update
README

This is an example script for doing dynamic DNS updates from the WINS
database. You use this by putting the full path to the script in the
"wins hook" option in smb.conf. Remember to mark the script executable
and to set the right domain at the top of the script.

See the BIND documentation for how to enable dynamic DNS
updates. Remember to restrict the updates as far as you can to reduce
the security risks inherent in dynamic DNS.