Page MenuHomePhabricator

Cloud DNS: update markmonitor entries
Closed, ResolvedPublic

Description

We need to change the markmonitor NS entries for some of our domains to accommodate new service names:

arturo@endurance:~ $ whois toolforge.org | grep "Name Server"
Name Server: CLOUD-NS0.WIKIMEDIA.ORG
Name Server: CLOUD-NS1.WIKIMEDIA.ORG
arturo@endurance:~ $ whois wmcloud.org | grep "Name Server"
Name Server: CLOUD-NS0.WIKIMEDIA.ORG
Name Server: CLOUD-NS1.WIKIMEDIA.ORG
arturo@endurance:~ $ whois wmflabs.org | grep "Name Server"
Name Server: CLOUD-NS0.WIKIMEDIA.ORG
Name Server: CLOUD-NS1.WIKIMEDIA.ORG

Those should all be ns0.openstack.eqiad1.wikimediacloud.org and ns1.openstack.eqiad1.wikimediacloud.org instead. Worth investigating if there are any others domains requiring this change.

This task is a blocker for dropping the obsolete cloud-nsX.wikimedia.org FQDNs.

Event Timeline

aborrero triaged this task as Medium priority.Mar 18 2020, 1:12 PM
aborrero created this task.

Assigning to @Andrew since I think he had the latest interaction with mark monitor.

Do we want to add any new domains while we're at it? Or just change the auth for those three?

Proposed instructions to send to MarkMonitor:

Auth nameserver for wmflabs.org, wmcloud.org, toolforge.org

currently:

cloud-ns0.wikimedia.org  208.80.154.135

cloud-ns1.wikimedia.org  208.80.154.11

CHANGE TO:

ns0.openstack.eqiad1.wikimediacloud.org  208.80.154.135

ns1.openstack.eqiad1.wikimediacloud.org  208.80.154.11


Auth nserver for 56.15.185.in-addr.arpa:

currently:

cloud-ns0.wikimedia.org  208.80.154.135

cloud-ns1.wikimedia.org  208.80.154.11

CHANGE TO:

ns0.openstack.eqiad1.wikimediacloud.org  208.80.154.135

ns1.openstack.eqiad1.wikimediacloud.org  208.80.154.11


ADD auth nserver for 57.15.185.in-addr.arpa:

ns0.openstack.codfw1dev.wikimediacloud.org  208.80.153.76

@arturo, can you confirm that this bit won't overlap prod things?

ADD auth nserver for 57.15.185.in-addr.arpa:
ns0.openstack.codfw1dev.wikimediacloud.org 208.80.153.76

This is re: Krenair's comments about /24 vs /29 https://phabricator.wikimedia.org/T247972#6000296

@arturo, can you confirm that this bit won't overlap prod things?

ADD auth nserver for 57.15.185.in-addr.arpa:
ns0.openstack.codfw1dev.wikimediacloud.org 208.80.153.76

This is re: Krenair's comments about /24 vs /29 https://phabricator.wikimedia.org/T247972#6000296

You are right:

$ dig SOA 57.15.185.in-addr.arpa +short
ns0.wikimedia.org. hostmaster.wikimedia.org. 2019120223 43200 7200 1209600 3600

This one we can leave it as is until we figure out what happens with the CIDR.

I have emailed the above changes to Doneva. We will see if she's currently working.

Markmonitor has upgraded wmflabs.org, wmcloud.org, toolforge.org

We also need to update all the SOA records to stop showing cloud-ns1.wikimedia.org and show ns0.openstack.eqiad1.wikimediacloud.org instead.

I updated the designate pool with designate-manage, and then finally had to just remove some of the ns records in the db because 'pool update' wouldn't do it:

mysql:root@localhost [designate]> select * from pool_ns_records;
+----------------------------------+---------------------+------------+---------+----------------------------------+----------+------------------------------------------+
| id                               | created_at          | updated_at | version | pool_id                          | priority | hostname                                 |
+----------------------------------+---------------------+------------+---------+----------------------------------+----------+------------------------------------------+
| 2ce238a6041f47ea9694fbf865eb3037 | 2020-03-10 18:43:14 | NULL       |       1 | 794ccc2cd75144feb57f8894c9f5c842 |       11 | cloud-ns1.wikimedia.org.                 |
| 967b85ae227344f6ab1c17210be1a0e8 | 2020-03-10 18:43:14 | NULL       |       1 | 794ccc2cd75144feb57f8894c9f5c842 |       10 | ns1.openstack.eqiad1.wikimediacloud.org. |
| ae21b35f1e19432696e05b28e7a65545 | 2020-03-10 18:43:14 | NULL       |       1 | 794ccc2cd75144feb57f8894c9f5c842 |       10 | cloud-ns0.wikimedia.org.                 |
| bdfc678fe0d54560a35c9179b0beaf75 | 2020-03-10 18:43:14 | NULL       |       1 | 794ccc2cd75144feb57f8894c9f5c842 |       10 | ns0.openstack.eqiad1.wikimediacloud.org. |
+----------------------------------+---------------------+------------+---------+----------------------------------+----------+------------------------------------------+
4 rows in set (0.00 sec)

mysql:root@localhost [designate]> delete from pool_ns_records where id="2ce238a6041f47ea9694fbf865eb3037";
Query OK, 1 row affected (0.00 sec)

mysql:root@localhost [designate]> delete from pool_ns_records where id="ae21b35f1e19432696e05b28e7a65545";
Query OK, 1 row affected (0.00 sec)