1. Update packages list with command:

> apt-get update


2. Update domainreg with command:

> apt-get install atomiadomainregistration-masterserver


3. Restart domainreg:

> service atomiadomainregistration-api restart