diff --git a/src/rrset.cpp b/src/rrset.cpp
new file mode 100644
index 0000000..4559479
--- /dev/null
+++ b/src/rrset.cpp
@@ -0,0 +1,45 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/**
+ * Copyright (c) 2014, Regents of the University of California.
+ *
+ * This file is part of NDNS (Named Data Networking Domain Name Service).
+ * See AUTHORS.md for complete list of NDNS authors and contributors.
+ *
+ * NDNS is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU General Public License as published by the Free Software Foundation,
+ * either version 3 of the License, or (at your option) any later version.
+ *
+ * NDNS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE.  See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * NDNS, e.g., in COPYING.md file.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "rrset.hpp"
+
+namespace ndn {
+namespace ndns {
+
+Rrset::Rrset(Zone* zone)
+  : m_id(0)
+  , m_zone(zone)
+{
+}
+
+std::ostream&
+operator<<(std::ostream& os, const Rrset& rrset)
+{
+  os << "Rrset: Id=" << rrset.getId();
+  if (rrset.getZone() != 0)
+    os << " Zone=(" << *rrset.getZone() << ")";
+
+  os << " Label=" << rrset.getLabel()
+     << " Type=" << rrset.getType()
+     << " Version=" << rrset.getVersion();
+  return os;
+}
+
+} // namespace ndns
+} // namespace ndn
