Z
Zeheeba
Hello Everyone.
I have a format that is outputting a variable as empty spaces. I have
no clue why its doing this.
The variable causing problems is listed below:
$revzone="$last.$net.1.10.in-addr.arpa";
If I put the print command after this declaration I get
43.15.1.10.in-addr.arpa
The problem occurs when I place it in the following format:
___________________________________________________________
format DEFAULTREV =
server 10.1.99.20
zone @<.1.10.IN-ADDR.ARPA
$ip
update add @<<<<<<<<<<<<< 10800 PTR @>>>>>>>>>>>>.domain.com."
$revzone, $host
show
send
..
____________________________________________________________
The first variable space after "update add" has 25 <'s in it, I
truncated it due to the line wrapping.
After outputting this format to a file, it looks like this:
_____________________________________________________________
server 10.1.99.20
zone 15.1.10.IN-ADDR.ARPA
update add 10800 PTR name.domain.com.
show
send
..
_____________________________________________________________
Does anyone know why a blank space would be left instead of the
variable? I have never had this problem with formats before.
Any help is appreciated.
Regards,
Daniel
I have a format that is outputting a variable as empty spaces. I have
no clue why its doing this.
The variable causing problems is listed below:
$revzone="$last.$net.1.10.in-addr.arpa";
If I put the print command after this declaration I get
43.15.1.10.in-addr.arpa
The problem occurs when I place it in the following format:
___________________________________________________________
format DEFAULTREV =
server 10.1.99.20
zone @<.1.10.IN-ADDR.ARPA
$ip
update add @<<<<<<<<<<<<< 10800 PTR @>>>>>>>>>>>>.domain.com."
$revzone, $host
show
send
..
____________________________________________________________
The first variable space after "update add" has 25 <'s in it, I
truncated it due to the line wrapping.
After outputting this format to a file, it looks like this:
_____________________________________________________________
server 10.1.99.20
zone 15.1.10.IN-ADDR.ARPA
update add 10800 PTR name.domain.com.
show
send
..
_____________________________________________________________
Does anyone know why a blank space would be left instead of the
variable? I have never had this problem with formats before.
Any help is appreciated.
Regards,
Daniel