I need to test DNS changes before updating real DNS I need to set up A records and CNAME
Any Mac software that let me do it and possibly easily switch ON / OFF?
I need to test DNS changes before updating real DNS I need to set up A records and CNAME
Any Mac software that let me do it and possibly easily switch ON / OFF?
In general people test locally if services run correctly on their new IP-addresses by overriding the current DNS records with entries in their hosts file
That doesn't allow you to set up CNAME records of course, you will have to map all records you want to test to the IP-addresses the CNAME records would eventually resolve to, before you can enter them in a hosts file.
Don't forget to remove those entries after you're done testing.
In general I don't think people run test name servers to test DNS changes and usually simply make them in their authoritative DNS server(s) at the time they are needed, but the procedure for that would be:
dig changed.example.com. @IP-address-of-test-nameserver
.IP-address-of-test-nameserver
as the preferred/only name server.Homebrew provides the Bind DNS server https://formulae.brew.sh/formula/bind , Unbound https://formulae.brew.sh/formula/unbound and others for an easy install on your Mac.
You could point to a non auth DNS server like Unbound, and put there some CNAMES or A records. This way you would get a 'view' of your DNS domain, then update production as needed.