@home.lan

Barry Margolin barmar at genuity.net
Wed Jun 21 15:52:26 UTC 2000


In article <39509F01.2F5C6B17 at ix.netcom.com>,
Thomas Gagne  <tgagne at efinnet.com> wrote:
>My home network is running beautifully.  I've setup my DNS as home.lan so as
>not to confused anything on the internet.  My ISP is a dial-up account so I'm
>not on all the time, my DHCP is updating my DNS whenever I plug my laptop into
>my home network, and life is grand.
>
>Now, if I could only figure out how to create a CNAME for an address not on my
>LAN.  At work I've aliased the mail gateway to "smtp" so my mail client only
>has to connect to "smtp."  When I'm at home, I want "smtp" aliased to
>"smtp.ix.netcom.com."  Is this a job for DNS or is it a job for IP
>masquerading?

You should be able to do this with a CNAME in your zone file:

smtp  IN CNAME  smtp.ix.netcom.com.

If you're able to look up smtp.ix.netcom.com via your home server, you
should get the same answer when you look up smtp.home.lan.

-- 
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