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

Make dname_from_addr public. #289

Closed partim closed 4 months ago

partim commented 5 months ago

This PR makes the helper method dname_from_addr for creating the query name for a reverse pointer query public as an associated function on Dname. It also improves the IPv4 version by avoiding the FromStr impl and creating the domain name more properly.

Fixes #218.