# Expiry

### **What is Expiry in PNS?**

Expiry in PNS is like a timer for your .pls domain names. It tells you how long your domain name will work and how long the settings (fuses) you choose will last.

### **How Does Expiry Work?**

* When you set an expiry for a domain, it's like setting an alarm. Until the alarm rings (expiry date), your domain and its settings (fuses) keep working.
* For .pls domains, the expiry date is automatically matched to a date set in the PNS system. But for other types of domains, the person who owns the main domain (parent) can decide how long each subdomain (child domain) will last.

### **Maximum Expiry for Subdomains**

* The longest a subdomain can last is as long as its parent domain.
* For example, if your main domain is good for 5 years, then the subdomains can also be set for up to 5 years. But the parent can choose a shorter time, like 2 years, if they want.

### **Different Expiry for Different Subdomains**

* The parent can set different expiry times for different subdomains. Just like they can set different fuses for them.

### **Renewing Domain Names**

* When you renew a .pls domain, its new expiry date is updated in both PNS and the original system.
* However, renewing a main domain doesn't automatically renew all its subdomains.
* The parent can renew a subdomain's expiry at any time, even if it's already independent (emancipated).
* Parents can also allow subdomain owners or others to extend the subdomain's expiry.

### **Special Settings for Subdomains**

* Parents can use a special setting (CAN\_EXTEND\_EXPIRY fuse) that lets subdomain owners extend their own expiry.
* This is handy if you're managing lots of subdomains and want to let them handle their own renewals.

### **Special Cases for .pls Domains**

* For .pls domains, the expiry date includes a grace period after the actual expiry date.
* During this grace period, you can't make changes to the domain, but you don't lose it right away. You just need to renew it to regain full control.

### **What Happens When a Domain Expires?**

* If a domain just has its settings (fuses) on but isn't locked or emancipated, the fuses reset when it expires, but you still keep the domain.
* If a domain is locked or emancipated and it expires, you lose ownership of the domain.

<br>
