diff --git a/netd.te b/netd.te
index 51445fca90ad6a29e0efccb7065e9b6c1374993f..6864ad6e781c7714130074973735b7e40452c9a1 100644
--- a/netd.te
+++ b/netd.te
@@ -65,6 +65,9 @@ allow netd netd_service:service_manager add;
 allow netd system_server:binder call;
 allow netd permission_service:service_manager find;
 
+# Allow netd to talk to the framework service which collects DNS query metrics.
+allow netd dns_listener_service:service_manager find;
+
 # Allow netd to operate on sockets that are passed to it.
 allow netd netdomain:{tcp_socket udp_socket rawip_socket dccp_socket tun_socket} {read write getattr setattr getopt setopt};
 allow netd netdomain:fd use;
diff --git a/service.te b/service.te
index 3cd258b6ced78b8186cb339dacec8a05f841ad44..8fea071b7400424a2ef7e2fe5d06d2a33d19a4bd 100644
--- a/service.te
+++ b/service.te
@@ -49,6 +49,7 @@ type deviceidle_service, app_api_service, system_server_service, service_manager
 type devicestoragemonitor_service, system_server_service, service_manager_type;
 type diskstats_service, system_api_service, system_server_service, service_manager_type;
 type display_service, app_api_service, system_server_service, service_manager_type;
+type dns_listener_service, system_server_service, service_manager_type;
 type DockObserver_service, system_server_service, service_manager_type;
 type dreams_service, app_api_service, system_server_service, service_manager_type;
 type dropbox_service, app_api_service, system_server_service, service_manager_type;
diff --git a/service_contexts b/service_contexts
index 288ff901e3b2f1d9e50c60b0fe6eb2bd61b695de..11c0736157319fb8cf632c4f81ccc41ed9d7c8b8 100644
--- a/service_contexts
+++ b/service_contexts
@@ -34,6 +34,7 @@ devicestoragemonitor                      u:object_r:devicestoragemonitor_servic
 diskstats                                 u:object_r:diskstats_service:s0
 display.qservice                          u:object_r:surfaceflinger_service:s0
 display                                   u:object_r:display_service:s0
+dns_listener                              u:object_r:dns_listener_service:s0
 DockObserver                              u:object_r:DockObserver_service:s0
 dreams                                    u:object_r:dreams_service:s0
 drm.drmManager                            u:object_r:drmserver_service:s0