pointing domain to dynamic ip

Barry Margolin barmar at genuity.net
Tue Jun 20 16:46:34 UTC 2000


In article <01bfdad9$eda90a20$0400a8c0 at nomad>,
jj the bouncing fish <jj at privacy.net> wrote:
>Hello all
>
>I have a dynamic ip address for one of my servers.  I 'solved' this with a
>service similar to myip.org that gives me myserver.myip.org.
>
>I recently obtained a domain (mydomain.ca).  I would like to point this new
>domain to myserver.myip.org.
>
>I thought I had the right idea with the following
>
>mydomain.ca. IN NS ns1.granitecanyon.com. 
>mydomain.ca. IN NS ns2.granitecanyon.com. 
>localhost.mydomain.ca. IN A 127.0.0.1 mydomain.ca. IN RP foo.bar.com.
>admin.mydomain.ca. 
>
>mydomain.ca IN CNAME myserver.myip.org. ;EXTREF 
>
>My assumption is that bind gets to the cname and stops.  how can I get it
>to lookup myserver.myip.org?

You can't make your domain name be a CNAME, since this violates the
restriction against "CNAME and other data".

Use:

www IN CNAME myserver.myip.org. ;EXTREF

Then people can go to www.mydomain.ca to get to your server.

-- 
Barry Margolin, barmar at genuity.net
Genuity, Burlington, 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.



More information about the bind-users mailing list