apiVersion: v1
kind: ConfigMap
metadata:
  name: unbound-config
  namespace: networking
data:
  unbound.conf: |
    server:
      do-daemonize: no
      username: "unbound"
      directory: "/etc/unbound"
      trust-anchor-file: root.key
      interface: 0.0.0.0
      access-control: 0.0.0.0/0 allow
      extended-statistics: yes
    remote-control:
      control-enable: yes
      control-use-cert: no
      control-interface: 127.0.0.1
