You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: dns.go
    path of file: ./repos/nanobox/util/dns
    
    the code of the file until where you have to start completion: // Package dns ...
package dns

import (
	"bufio"
	"fmt"
	"io/ioutil"
	"os"
	"strings"

	"github.com/nanobox-io/nanobox/commands/server"
)

type DomainName 
    
func Add(entry string) error {
	// break early if there is no entry
	// or we have already added this entry
	if entry == "" || Exists(entry) {
		return nil
	}

	req := Request{entry}
	resp := &Response{}

	err := server.ClientRun("DomainRPC.Add", req, resp)
	if !resp.Success {
		err = fmt.Errorf("failed to add domain: %v %v", err, resp.Message)
	}

	return err
}