HomePhabricator

labsdns: Allow returning arbitrary A records, not CNAMEs
9fd3bade306cUnpublished

Authored by yuvipanda on Jul 1 2016, 5:41 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

labsdns: Allow returning arbitrary A records, not CNAMEs

CNAMEs are problematic since if the same DNS server is responsible
for the returned CNAME zone as well clients expect it to internally
resolve and return the A record too. This is too complex for us,
so we just fake return an A record directly. This has TTL implications,
but right now these are in /etc/hosts managed by puppet so it is
not making the situation worse.

Followup to I4c90b8002409f5de9bdc48bc878c27348122ce6c

Bug: T139190
Change-Id: I3480066e89cf825ba278983c35e6a97a95c17e7b