Re: [SLUG] dyndns address to CNAME ?

2011-08-09 Thread Jeremy Visser
Thus spake Voytek Eymont:
 once ip changes, will that propagate to my CNAME...?

Yes.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] dyndns address to CNAME ?

2011-08-09 Thread Daniel Pittman
On Mon, Aug 8, 2011 at 19:03, Voytek Eymont li...@sbt.net.au wrote:

 dumb DNS Q:
 what's a way to have a dyndns name mapped to a host within own domain.tld ?

Either pay them for their custom domain support, or have your domain
expose a CNAME that points to their dynamic name.

 can I map a dyndns host to a CNAME as a hostname on mydomain.tld ?

CNAME is like a symbolic link, and it works the other way around: you
point to the dyndns host from the CNAME on your own domain.

 so, I have a machine at home with not-fixed ip, on dyndns, as
 'myhomepc.dyndns.com'

 if I set a bind record as:

 myhomepc     CNAME   myhomepc.dyndns.com.

 to have myhomepc.mydomain.tld

 that works, BUT, will that work once ip changes, will that propagate to my
 CNAME...?

So, again, symlink: the way that a name is resolved is that when you
hit a CNAME you read the target of it, and then go ahead and start the
process from scratch with the new one.  So, the end user system
pretends that they typed in myhomepc.dnydns.com. instead of
myhomepc.your.domain. and all.

Make sense?  Any IP changes matter only for the target name, and the
CNAME is more or less unrelated.

Daniel
-- 
♲ Made with 100 percent post-consumer electrons
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] dyndns address to CNAME ?

2011-08-08 Thread Voytek Eymont
dumb DNS Q:

what's a way to have a dyndns name mapped to a host within own domain.tld ?

can I map a dyndns host to a CNAME as a hostname on mydomain.tld ?

so, I have a machine at home with not-fixed ip, on dyndns, as
'myhomepc.dyndns.com'

if I set a bind record as:

myhomepc CNAME   myhomepc.dyndns.com.

to have myhomepc.mydomain.tld

that works, BUT, will that work once ip changes, will that propagate to my
CNAME...?




-- 
Voytek

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] dyndns address to CNAME ?

2011-08-08 Thread miloska
 that works, BUT, will that work once ip changes, will that propagate to my
 CNAME...?



No need to, it will work.

Give it a try (force an IP change, for example reconnect to ADSL) and
the check the result.

Here is a list of commands you may find useful (I'd run these before
and after the IP change):

Check where dydns info coming:
$ host -t ns dyndns.com.
dyndns.com name server ns3.dynamicnetworkservices.net.
dyndns.com name server ns2.dynamicnetworkservices.net.
dyndns.com name server ns1.dynamicnetworkservices.net.
dyndns.com name server ns4.dynamicnetworkservices.net.


Check the current value at the dydns provider:
$ host -t a myhomepc.dyndns.com. ns1.dynamicnetworkservices.net.


Check what Google DNS cache thinks about you:
$ host -t a myhomepc.mydomain.tld. 8.8.8.8
$ host -t a myhomepc.dyndns.com. 8.8.8.8

Cheers,
Miklos
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html