System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP)

How to Remove a Client

To remove a client from a DNS domain do the following.

  1. Become superuser.

  2. Remove dns from the hosts line of the machine's nsswitch.conf file.

  3. Remove the machine's /etc/resolv.conf file.

  4. Delete the records for that machine from the master server's hosts and hosts.rev files.

  5. Check to see if the machine has CNAME records that point to the machine. If so, delete the CNAME records from the hosts file.

  6. Set up replacements for services supported by the removed machine.

    If the machine is a master server or a host for any other necessary process or service, set up another machine to perform those services.