So here we go; I've just registered my own domain (rakkis.net) at
www.directnic.com. Currently I'm using directnic's free hosting to host my
site; with banners, no CGI, PHP nor MySQL. That's not a real domain at all!
Then I heard about granitecanyon.com that provides free primary and
secondary DNS, and thought that maybe I could set up a kind of a CNAME for
my domain, so that it would resolve for example to my home-adsl IP-address,
the IP-address wouldn't resolve backwards to rakkis.net, but who cares,
rakkis.net would go to my machine, and I could run whatever I want there.
Anyways, I'm pretty new to DNS things, and I'd need little help setting up
all this at granitecanyon, so if anyone could go and check how the thing
works there I'd greatly appreciate that. Currently I'm wondering something
like this for the zonefile:
rakkis.net. IN NS ns1.granitecanyon.com.
rakkis.net. IN NS ns2.granitecanyon.com.
rakkis.net. IN A my.home.ip.number
www.rakkis.net IN CNAME rakkis.net.
more-vhosts.rakkis.net IN CNAME rakkis.net.
Then just change granitecanyons DNS servers to directnic.com for my domain.
So would this work?
Thanks already, Rakkis
--
Riku Nurminen, rak...@madqon.org
Member of MadQon,
a non-profit organization http://www.madqon.org
That's right. There are some boilerplate records (SOA, RP, and TXT)
missing from what you wrote above, but I assume you were just abbreviating.
>Then just change granitecanyons DNS servers to directnic.com for my domain.
>
>So would this work?
That last part won't. Unless you change the registration of your domain to
point to granitecanyon.com, no one will ever query the GC servers. You
need to get the directnic.com servers totally out of the loop if they won't
let you customize the DNS entries.
--
Barry Margolin, bar...@genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
Barry Margolin <bar...@genuity.net> wrote in
<a0fqee$g...@pub3.rc.vix.com>:
>In article <a0fle4$g...@pub3.rc.vix.com>,
>Riku Nurminen <rak...@madqon.org> wrote:
>>...
>> Then I heard about granitecanyon.com that provides free primary
>>...
>> Currently I'm
>> wondering something like this for the zonefile:
>>
>> rakkis.net. IN NS ns1.granitecanyon.com.
>> rakkis.net. IN NS ns2.granitecanyon.com.
>>
>> rakkis.net. IN A my.home.ip.number
>> www.rakkis.net IN CNAME rakkis.net.
>> more-vhosts.rakkis.net IN CNAME rakkis.net.
>
>That's right. There are some boilerplate records (SOA, RP, and
>TXT) missing from what you wrote above, but I assume you were just
>abbreviating.
And that the missing periods on the www and more-vhosts names are
just typos...
GC's web interface supplies the SOA record so you don't enter it
yourself. But it will insist that you provide RP and TXT records,
these should do it:
rakkis.net. IN RP rakkis.madqon.org. rakkis.net.
rakkis.net. IN TXT "Riku Nurminen"
Also, and more important, you should also up additional slave servers
on another service like secondary.com. GC's slave server has been
off the air for quite some time now, no telling when it (or a
replacement) will reappear. If you do that, you would also add NS
records for the other servers, e.g.:
rakkis.net. IN NS ns1.granitecanyon.com.
rakkis.net. IN NS ns2.granitecanyon.com.
rakkis.net. IN NS ns1.secondary.com.
rakkis.net. IN NS ns2.secondary.com.
An even better option, if you have a static IP address, is to set up
a DNS server on your own machine as master for your zone and set up
both GC and secondary.com as slaves to it. That way you can omit the
NS record for ns2.granitecanyon.com (which GC's web interface won't
let you do) until it actually works. If you don't list your server
at your registrar or in the zone's NS records, it won't be used to
answer queries (this is waht GC refers to as an "unpublished primary"
setup).
- Fred