I think I understand what you are saying. I tried it, and it works, but it
does not buy me anything in my specific case. It's a bit confusing, but
I'll try to make sense of it :)
As I mentioned, autodiscover.FOO.com <http://autodiscover.foo.com> is a
third party domain that I do not have control over, and their IP changes
often (the reason they tell us to use a CNAME). At the same time, the
application requires a valid record for
autodiscover.MYDOMAIN.com<http://autodiscover.testdom.com>that points
to their servers. I can add an A record for
autodiscover.MYDOMAIN.com <http://autodiscover.testdom.com> that points
directly to the current IP of
autodiscover.FOO.com<http://autodiscover.foo.com>and all is well.
Using the workaround you mention, I would create and A
record autodiscover-tmp.MYDOMAIN.com
<http://autodiscover-tmp.testdom.com>and point that the the current IP
of
autodiscover.FOO.com <http://autodiscover.foo.com>, then create a CNAME of
autodiscover.MYDOMAIN.com <http://autodiscover.testdom.com> that aliases
autodiscover-tmp.MYDOMAIN.com <http://autodiscover-tmp.testdom.com>. While
this indeed works, once the IP of
autodiscover.FOO.com<http://autodiscover.foo.com>changes, I'll still
have to update a local A record - autodiscover-tmp
instead of autodiscover. Samba4 also has some problems with MX records,
where they are reported by dig and samba-tool, but my mail server can't
locate it, though I don't know if they are related. and I suspect these are
related. I may have to see about moving DNS from internal to bind9_dlz, if
that's even possible. Thank you for your help.
On Thu, Jan 31, 2013 at 1:35 PM, Ricky Nance <
ricky.nance at weaubleau.k12.mo.us> wrote:
> I think it'd be worth a shot. I could help you in a couple of hours. If
> you want to catch me on IRC that would be quite helpful.
>
> Ricky
>
>
> On Thu, Jan 31, 2013 at 12:27 PM, Thomas Simmons <twsnnva at
gmail.com>wrote:
>
>> Thank you Ricky, though I don't think this will help in my case.
Please
>> let me know if you think otherwise.
>>
>> autodiscover.foo.com is a third party domain that I do not have control
>> over. They have multiple A records which will change from time to time.
>>
>> We must create a CNAME for autodiscover.testdom.com which aliases to
>> autodiscover.foo.com.
>>
>> We had an A record in place, so autodiscover.testdom.com would point
>> directly to the current IP of autodiscover.foo.com. The IP of
>> autodiscover.foo.com changed at some point, which caused some major
>> issues.
>>
>>
>> On Thu, Jan 31, 2013 at 1:10 PM, Ricky Nance <
>> ricky.nance at weaubleau.k12.mo.us> wrote:
>>
>>> Looks like you rediscovered my bug ;) ..
>>> https://bugzilla.samba.org/show_bug.cgi?id=9409 There is a work
around
>>> there.
>>>
>>> Ricky
>>>
>>>
>>> On Thu, Jan 31, 2013 at 9:50 AM, Thomas Simmons <twsnnva at
gmail.com>wrote:
>>>
>>>> Hello,
>>>>
>>>> It seems Samba4 is having problems with CNAME records. I am
seeing the
>>>> same
>>>> behavior as mentioned in the thread below. Is there any ETA on
a fix for
>>>> this? This is identical to the problem with MX records. This is
>>>> currently a
>>>> much bigger problem than the MX records. I appreciate any
assistance.
>>>>
>>>> [root at DC1 var]# dig autodiscover.testdom.com CNAME
>>>>
>>>> ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.6
<<>>
>>>> autodiscover.testdom.com CNAME
>>>> ;; global options: +cmd
>>>> ;; Got answer:
>>>> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:
24296
>>>> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0,
ADDITIONAL: 0
>>>>
>>>> ;; QUESTION SECTION:
>>>> ;autodiscover.testdom.com. IN CNAME
>>>>
>>>> ;; ANSWER SECTION:
>>>> autodiscover.testdom.com. 900 IN CNAME
autodiscover.foo.com.
>>>>
>>>> ;; Query time: 1 msec
>>>> ;; SERVER: 192.168.100.3#53(192.168.100.3)
>>>> ;; WHEN: Thu Jan 31 10:35:32 2013
>>>> ;; MSG SIZE rcvd: 77
>>>>
>>>>
>>>> [root at DC1 var]# ping autodiscover.testdom.com
>>>> ping: unknown host autodiscover.testdom.com
>>>>
>>>> [root at DC1 var]# samba-tool dns query dc1 testdom.com
autodiscover CNAME
>>>> Password for [Administrator at INTERNAL.TESTDOM.COM]:
>>>> Name=, Records=1, Children=0
>>>> CNAME: autodiscover.foo.com. (flags=f0, serial=65, ttl=900)
>>>>
>>>> https://lists.samba.org/archive/samba/2012-May/167562.html
>>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>
>
>
> --
>
>