Displaying 1 result from an estimated 1 matches for "zoneip".
Did you mean:
zone_ip
2020 Jun 17
0
Fwd: DHCP Updates to DNS - Multiple Entries with Same IP
...e 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 changed it also to array manipulation instead of sed statements.
A second problem I had with my laptop...