@Override
  public void register(String path, ServiceRecord record) throws IOException {
    op(path, record, addRecordCommand);
  }
@Test
  public void testAAAALookup() throws Exception {
    ServiceRecord record = getMarshal().fromBytes("somepath",
        CONTAINER_RECORD.getBytes());
    getRegistryDNS().register(
        "/registry/users/root/services/org-apache-slider/test1/components/"
            + "ctr-e50-1451931954322-0016-01-000002",
        record);

    // start assessing whether correct records are available
    List<Record> recs = assertDNSQuery(
        "ctr-e50-1451931954322-0016-01-000002.dev.test.", Type.AAAA, 1);
    assertEquals("wrong result", "172.17.0.19",
        ((AAAARecord) recs.get(0)).getAddress().getHostAddress());

    recs = assertDNSQuery("httpd-1.test1.root.dev.test.", Type.AAAA, 1);
    assertTrue("not an ARecord", recs.get(0) instanceof AAAARecord);
  }