You can add a DNS record for a public domain name similar to the steps for adding a private domain name. However, when you direct traffic to a server on your private network, you must ensure that the server can properly forward traffic on to the actual public internet destination.

Note: It is best practice to not add a DNS record for public domain names under Settings > DNS. Instead, add the domain name directly as a route to the network or as a domain name for a service.