# IPA - Basic Commands A basic list of command to manage FreeIPA services. #### DNS Add new a record and reverse record. An A record is used to map an FQDN to an IP address. The A record is created using the following: `ipa dnsrecord-add   --a-rec ` The reverse, or pointer, record is used to map the IP to a hostname. The command to create a pointer is: `ipa dnsrecord-add --ptr-rec .` Note the trailing dot. This is very important. This is an example of adding server1.i.example.com with the IP of 192.168.4.11 to the FreeIPA DNS. ```shell ipa dnsrecord-add i.example.com server1 --a-rec 192.168.4.11 ipa dnsrecord-add 4.168.192.in-addr.arpa 11 --ptr-rec server1.i.example.com. ``` #### Hosts Remove a failed or dead host. ```shell ipa host-del server1 --updatedns ``` Including the `--updatedns` option will also remove all of the linked DNS entries for this host. #### Services The service must include the service / FQDN of the host. ```shell ipa service-add nfs/server1.i.example.com ``` #### Users Add a new user *lab1* ```shell ipa user-add lab1 ``` Change the new user's password ```shell ipa passwd lab1 ```