October 28, 201510 yr This script can be used to modify existing A records, delete A records or add A and PTR records to existing grid. Usage: Add Record: perl a.pl -file -view internal -add perl a.pl -hostname test-apl.bogusdomain.com -ip 10.0.0.1 -view internal -add Delete Record: perl a.pl -hostname test-apl.bogusdomain.com -ip 10.0.0.37 -view internal -delete Modify Record: perl a.pl -hostname test-apl.bogusdomain.com -ip 10.0.0.37 -view internal -rdata test-apl2.bogusdomain.com -modifier name -modify perl a.pl -hostname test-apl2.bogusdomain.com -ip 10.0.0.37 -view internal -rdata 10.0.0.38 -modifier ipv4addr -modify perl a.pl -hostname test-apl2.bogusdomain.com -ip 10.0.0.38 -view internal -rdata 17 -modifier ttl -modify
Create an account or sign in to comment