Howtoforge published a tutorial about setting up a DNS server with BIND on Ubuntu 22.04.
How to Setup DNS Server with BIND on Ubuntu 22.04
BIND or Berkeley Internet Name Domain is free and open-source DNS Server software. It's one of the most popular DNS server software used by more than 70% of DNS on the Internet. BIND has been around since the 1980s, it's well-known for its flexibility, performance, and features. BIND can be used as both authoritative DNS and caching DNS, supports load balancing, dynamic update, split DNS, DNSSEC, IPv6, and many more.