Unable to create new ptr record

Hi. When I try to create a new ptr record, it always output error (Subname can only use (lowercase) a-z, 0-9, ., -, and _, may start with a ‘.’, or just be '’. Components may not exceed 63 characters.), even when I leave it blank.
Thanks

Hi Narutotee,

Thanks for your message, and welcome to deSEC! :slight_smile:

Can you please copy your exact API request, or post a screenshot? This would help identify the issue. (Please blacken any access tokens, and also your domain, if you like.)

Stay secure,
Peter

Hi Narutotee,

The subname may not end with a dot . – the value should be the subdomain only, without the dot that connects it to the main domain name.

So, if you enter mail, it should work.

Stay secure,
Peter

Unfortunately another error message without the dot.

Hi Narutotee,

According to RFC 1035 Sec. 3.3.12, the value of a PTR record must be a domain name (not an IP address), such as example.com. (including the trailing dot).

Are you trying to add an IP address to your mail subdomain? In that case, you need to select type A (for IPv4 addresses) or AAAA (for IPv6) instead of PTR.

Stay secure,
Peter

It’s working now. Thanks!