Hi mates, i'm trying to setup a small irc shell for me and my friends,
and i'm trying to experiment with vanity hosts. I will be using
freedns.afraid.org for creating subdomains to use as vhosts. It let's
set A records etc. Then i thought of setting only the PTR records on my
dns server to i will reverse dns and instead of my ip, the desired
hostname will showup.
Currently my static ip is 217.145.5.206
afraid.org has the following nameservers: ns1.afraid.org and ns2.afraid.org
what if i do the following...after choosing a public domain to create a
subdomain..let's say i get freebsduser.com and from it i create
asym.freebsduser.com
in named.conf i would setup this:
zone "freebsduser.com"{
type slave;
file "freebsduser.com";
};
then the zone file would be something like this:
$TTL 3600
206.5.145.217.in-addr.arpa. IN SOA ns1.afraid.org. admin.afraid.org. (
5 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
3600 ) ; Minimum
@ IN NS ns1.afraid.org.
@ IN NS ns2.afraid.org.
2 IN PTR ns1.afraid.org.
3 IN PTR ns2.afraid.org.
10 IN PTR asym.freebsduser.com.
30 IN PTR freebsduser.com.
Would this be correct? I actually once called euroweb to setup a reverse dns on
a particular host for me..and it worked..however it wouldn't be a good idea to
call them everytime i want to change hostname.
Regards
Chris