Just installed a fresh install of PBX in a Flash Yellow and am unable to get ipchecker/travelin man to work.
Keep getting:
./ipchecker: line 34: dig: command not found
Ooops. We gotta a DIG fail problem. Forcing a match on IP to avoid disaster.
Account dynamic1.iptables OK
./ipchecker: line 34: dig: command not found
Ooops. We gotta a DIG fail problem. Forcing a match on IP to avoid disaster.
Account dynamic2.iptables OK
Here are lines 30-40 or so.
fqdn=`cat ${account[$index]} | cut -f 1 -d " "`
ip=`cat ${account[$index]} | cut -f 2 -d " "`
test=`dig +short $fqdn`
LEN=${#test}
if [ $LEN -gt 15 ]; then
echo "Ooops. We gotta a DIG overage problem. Forcing a match on IP to avoid disaster."
test=$ip
Keep getting:
./ipchecker: line 34: dig: command not found
Ooops. We gotta a DIG fail problem. Forcing a match on IP to avoid disaster.
Account dynamic1.iptables OK
./ipchecker: line 34: dig: command not found
Ooops. We gotta a DIG fail problem. Forcing a match on IP to avoid disaster.
Account dynamic2.iptables OK
Here are lines 30-40 or so.
fqdn=`cat ${account[$index]} | cut -f 1 -d " "`
ip=`cat ${account[$index]} | cut -f 2 -d " "`
test=`dig +short $fqdn`
LEN=${#test}
if [ $LEN -gt 15 ]; then
echo "Ooops. We gotta a DIG overage problem. Forcing a match on IP to avoid disaster."
test=$ip