Displaying 1 result from an estimated 1 matches for "rev_zone_info".
2020 Jun 17
0
Fwd: DHCP Updates to DNS - Multiple Entries with Same IP
Dear Rowland
I still have the problem that both dhcp's are running the dhcp-dyndns.sh script and therefore I changed the shell script, to skip deleting and adding every record and to do only necessary changing.
While changing, I found a Typo in sub: rev_zone_info () {
case "$numwords" in
1) # single ip rev zone '192'
ZoneIP=$(echo "${IP}" | awk -F '.' '{print $1}')
RZIP=$(echo "${rzoneip}" | awk -F '.' '{print $3}')
It should be $1 instead of $3
BTW.: I chan...