Azure / Azure-Network-Security

Resources for improving Customer Experience with Azure Network Security
MIT License
783 stars 303 forks source link

Support dangling ns records #112

Closed graemefoster closed 9 months ago

graemefoster commented 2 years ago

So that we can stop entire sub-domain takeovers As a network administrator I would like to be notified of ns records in a dns zone where I don't have a corresponding dns zone for the subdomain.

Describe the solution you'd like I'd like a new resource type, ns-record, to be added to the list of entries detected as dangling.

Describe alternatives you have considered Nope - for large dns deployments ns records are routinely used to simplify management.

Additional context ns-records point to generic azure dns name-servers. If I

Someone else can now create a dns zone for sub.mydomain.com and has a chance of getting it on the same ns1-09.azure-dns.com Azure dns servers. When they do then they've effectively taken over an entire subdomain.

Happy to submit a pull request to detect this!

Arun-Mudiraj commented 2 years ago

Sure @graemefoster would be happy to integrate your pull request.

2021H1030039G commented 2 years ago

Can I contribute to the above issue?

Arun-Mudiraj commented 2 years ago

Can I contribute to the above issue?

Sure, you are welcome

tobystic commented 9 months ago

Contribution merged . Closing