HomePhabricator

Tools: Let sql query DNS as well for aliases

This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Tools: Let sql query DNS as well for aliases

Currently, sql greps /etc/hosts to determine whether a database has
been replicated to Labs. However, the host aliases there will move to
DNS in the near future (cf. T63897).

This change uses "getent hosts" that queries /etc/hosts and DNS.

Bug: T91733
Change-Id: Id5ff0df3f36057b324e624ca77069372044f7831

Details

Provenance
scfcAuthored on Mar 6 2015, 7:52 AM
Tasks
T63897: Move LabsDB aliases to DNS
ChangeId
Id5ff0df3f36057b324e624ca77069372044f7831

Commit No Longer Exists

This commit no longer exists in the repository.