Using Console
Using CLI
Id
of the hosted zone.
<hosted-zone-id>
with the actual Id
of the hosted zone obtained in the previous step.
Name
of each vulnerable NS record.
<hosted-zone-id>
with the actual Id
of the hosted zone, <vulnerable-ns-record-name>
with the name of the vulnerable NS record, and <vulnerable-ns-record-value>
with the value of the vulnerable NS record.
Repeat this command for each vulnerable NS record identified in step 5.
<hosted-zone-id>
with the actual Id
of the hosted zone, <ns-record-name>
with the name of the NS record, and <ns-record-value>
with the value of the NS record.
Repeat this command for each NS record you want to add or update.
Using Python
pip install boto3
aws configure
remediate_ns_records.py
.
python remediate_ns_records.py