Hi Robert,
On Mon, Feb 27, 2012 at 10:35:26AM +0000, Robert Gauld wrote:
I'm currently toying with the idea of asking Andy
to delegate the reverse
lookup for my IP addresses to my name server rather than bothering him when
I want to change them.
You can directly set IPv4 reverse DNS from:
https://panel.bitfolk.com/dns/
I've been Googling to see what the zone file
I'd need to create
for this would look like and could only find resources on creating
a zone for for an entire class C network, what would the zone file
look like? (please either answer or point me to a resource I
couldn't find)
The technique for doing reverse DNS for less than an IPv4 /24 is
detailed in RFC2317. You can also do this from the panel link above
if you like.
Say for example you have IP address 85.119.82.5. If you tell panel
to delegate this to
a.dns.example.com and
b.dns.example.com then
you'd need to create a zone called 5-32.82.119.85.in-addr.arpa.
Inside that zone you would put the usual SOA and NS records, plus a
PTR record for "5":
$TTL 86400
@ SOA
a.dns.example.com.
hostmaster.example.com. (
2012022701 ; Serial
1800 ; refresh (30m)
900 ; retrry (15m)
1209600 ; expire (1w)
3600 ; minimum (1h)
NS
a.dns.example.com.
NS
b.dns.example.com.
5 PTR
whatever.your.host.example.com.
You then tell panel to delegate reverse DNS for this IP address to
"a.dns.example.com,b.dns.example.com".
However, you would have to question what the point of doing all that
is, when you can just put "whatever.your.host.example.com" into the
panel and have it updated in the zone file on BitFolk's side.
Cheers,
Andy
--
http://bitfolk.com/ -- No-nonsense VPS hosting