0

What would be a script that appends A records to DNS via user input?

This is how I imagined its workflow:

Script asks user for name.

Stores the provided name in a variable.

(line break)Script asks user for IP address.

Stores the provided IP in a variable.

Script appends NAME IN A IP(properly formatted) at the end of the /path/to/zone/file.

sudo service bind9 reload

exit

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.