CNAME to external Host record

  • Thread starter Robert Cervantez
  • Start date
R

Robert Cervantez

I'm having a problem resolving the IP address of a remote node using a CNAME
entry.

We have an FTP site that is being hosted by an 3rd party and they have named
the FTP site:
yourftp.somedomain.com
I think the IP address (hosted by the 3rd party) occassionally changes, but
I have no control over that matter.

I would like to be able to resolve the node's IP address using a name that
my users are famililar with... like:
ourftp.ourdomain.com

I have tried to create a CNAME entry on our AD-Integrated DNS servers using
the following configuration:
ourftp.ourdomain.com -> yourftp.somedomain.com

When I try to ping ourftp.ourdomain.com from the command prompt, I get the
following results:
C:\>ping ourftp.ourdomain.com
Ping request could not find host ourftp.ourdomain.com. Please check the name
and try again.

Here is the results of the nslookup resolution:
C:\>nslookup
Default Server: ourdns.ourdomain.com
Address: 10.10.1.40
set type=any
ourftp
Server: ourdns.ourdomain.com
Address: 10.10.1.40

ourftp.ourdomain.com canonical name = yourftp.somedomain.com
ourftp.ourdomain.com
Server: ourdns.ourdomain.com
Address: 10.10.1.40

ourftp.ourdomain.com canonical name = yourftp.somedomain.com
As you can see, the server doesn't resolve the yourftp.somedomain.com
address. Our DNS server can resolve external addresses just fine, so it's
not a connectivity issue.

What am I missing? By the way, I know it can be done because our external
DNS hosting company has successfully done it - I just need to have our
internal win2k DNS servers do it.

Thanks,
Rob.
 
K

Kevin D. Goodknecht

Robert Cervantez said:
We have an FTP site that is being hosted by an 3rd party and they have named
the FTP site:
yourftp.somedomain.com
I think the IP address (hosted by the 3rd party) occassionally changes, but
I have no control over that matter.

In your internal somedomain.com zone create a delegation named "yourftp" (if
that is the actual name if not you must use the actual name) then make that
delegation point to the Public Authoritative DNS servers. This delegation
must point to the authoritative DNS servers to work. Using a delegation
means that it won't matter if the IP changes.
 
M

Michael Johnston [MSFT]

What should happen is that the DNS server will resolve the CNAME on behalf of the client. So the client sends a request for ourftp.ourdomain.com. DNS sees
that the answer is a CNAME, so the DNS server will then go query for yourftp.somedomain.com. If this fails to resolve, then DNS only returns the CNAME. It
would appear by the results that your DNS server is unable to resolve yourftp.somedomain.com. From NSLOOKUP can you resolve
yourftp.somedomain.com?

You may also want to make sure that recursion is not turned off on your DNS server.

Thank you,
Mike Johnston
Microsoft Network Support

--

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top