NLnetLabs / domain

A DNS library for Rust.
https://nlnetlabs.nl/projects/domain/about/
BSD 3-Clause "New" or "Revised" License
341 stars 57 forks source link

Rename Dname to Name. #290

Closed partim closed 4 months ago

partim commented 5 months ago

This PR renames all types and functions that refer to domain name from using the term “dname” to just “name.” For instance, Dname becomes Name, ToDname becomes ToName, and ToDname::to_dname becomes ToName::to_name.

This annoyingly wide-reaching change is motivated by a clash with the DNAME record type that would always be confusing. So we rather do it now.

This is a really breaking change. Apologies.

Fixes #222.