45 lines
1.8 KiB
Bash
45 lines
1.8 KiB
Bash
|
# Version: 0.9.5
|
||
|
#
|
||
|
# Copyright (C) Rowland Penny 2020-2022
|
||
|
#
|
||
|
# This program is free software; you can redistribute it and/or modify
|
||
|
# it under the terms of the GNU General Public License as published by
|
||
|
# the Free Software Foundation; either version 3 of the License, or
|
||
|
# (at your option) any later version.
|
||
|
#
|
||
|
# This program is distributed in the hope that it will be useful,
|
||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
# GNU General Public License for more details.
|
||
|
#
|
||
|
# You should have received a copy of the GNU General Public License
|
||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
|
#
|
||
|
# ---
|
||
|
#
|
||
|
# Revised 2022-10-22, Rohhie, as follows:
|
||
|
# - logs to stderr.
|
||
|
# - Server name, domain name and DNS admin name are now specified in
|
||
|
# environment variables.
|
||
|
# - Since the assumption is that the user has been created,
|
||
|
# the test logic was removed.
|
||
|
# - Moved the parameter "-s" in the klist command.
|
||
|
# - When expired, the host name is retrieved from the target IP address.
|
||
|
# - Added processing to support IPv6
|
||
|
# (works as far as I want to use it in my home lab).
|
||
|
#
|
||
|
# Copyright (C) rohhie@rohhie.net 2022
|
||
|
#
|
||
|
# This program is free software; you can redistribute it and/or modify
|
||
|
# it under the terms of the GNU General Public License as published by
|
||
|
# the Free Software Foundation; either version 3 of the License, or
|
||
|
# (at your option) any later version.
|
||
|
#
|
||
|
# This program is distributed in the hope that it will be useful,
|
||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
# GNU General Public License for more details.
|
||
|
#
|
||
|
# You should have received a copy of the GNU General Public License
|
||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|