I want to create PTR record in my dns records using ispconfig. It asks me 2 values:
- Canonical Hostname
- TTL (default: 86400)
How should I fill these values? What do they mean?
A PTR record is just the reverse of a [forward] DNS record. Although DNS has the specific PTR record type for this, zone files for those records are a bit of a kludge. I'm not sure about ISPCONFIG, but below is what you need to know.
If you have a [forward] DNS record www.example.com. A 220.127.116.11, then the reverse PTR record typically would be 4 PTR www.example.com where 4 is the last octect of the IP address.
Now this only makes sense if the PTR record is in a specially name zone file called 3.2.1.in-addr.arpa. Again, hopefully you're not having to deal with this, but thought you should be aware.
You mentioned 2 values, but listed 3. For a PTR record, the first would be an part of the IP address, not a name per se. The CName is the forward DNS name like www.example.com. The TTL is the cache duration is seconds with 86400 being 1 day or 24 hours.