diff --git a/src/libknot/rr.c b/src/libknot/rr.c
index a3b2ed3ab17898f3641837f3650a3ec56367d764..a39e76a2966625abc2514cfe2e316cfa743930ae 100644
--- a/src/libknot/rr.c
+++ b/src/libknot/rr.c
@@ -1,3 +1,19 @@
+/*  Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
+
+    This program 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.
+
+    This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #include <assert.h>
 #include <string.h>
 #include <stdio.h>
diff --git a/src/libknot/rr.h b/src/libknot/rr.h
index be71697398a979d38133c78e3b455c3b3766bdae..f9b6890bd6c947c43c5ee7d0e4c58231974bd873 100644
--- a/src/libknot/rr.h
+++ b/src/libknot/rr.h
@@ -1,3 +1,29 @@
+/*!
+ * \file rr.h
+ *
+ * \author Jan Kadlec <jan.kadlec@nic.cz>
+ *
+ * \brief API for manipulating RRs and RR arrays.
+ *
+ * \addtogroup libknot
+ * @{
+ */
+/*  Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
+
+    This program 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.
+
+    This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #pragma once
 
 #include <stdlib.h>