Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rules Not automatically removed after resource deletion #126

Open
kha7iq opened this issue Sep 9, 2024 · 2 comments
Open

Rules Not automatically removed after resource deletion #126

kha7iq opened this issue Sep 9, 2024 · 2 comments

Comments

@kha7iq
Copy link

kha7iq commented Sep 9, 2024

After creating resource using HTTPRoute rules are created automatically in adguard. However, after removing the HTTPRoute resource from the cluster, I noticed that the associated filtering rules are not automatically removed.

Some additional details:
The external-dns policy is set to sync.
I attempted setting the environment variable ADGUARD_SET_IMPORTANT_FLAG=false, but there was no change in behavior.

Could you clarify if this behavior is expected, or if I'm missing something in the configuration?

HTTPRoute:

apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: whoami-http-route
  namespace: default
  annotations:
    external-dns.alpha.kubernetes.io/hostname: whoami.local
spec:
  parentRefs:
    - name: internal
      namespace: gateway
  hostnames:
    - "whoami.local"
  rules:
    - matches:
        - path:
            type: PathPrefix
            value: /
      backendRefs:
        - name: whoami
          port: 80

Filtring rules created:

|a-whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route"
|whoami.local^$dnsrewrite=NOERROR;A;192.168.0.10
|whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route"

Provider logs:

│ {"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-09T15:56:24Z"}                                                                             │
│ {"level":"debug","msg":"retrieved filtering rules: {UserRules:[|a-whoami.local^$dnsrewrite=NOERROR;TXT;\"heritage=external-dns,external-dns/owner=default,external-dns/resource=httpro │
│ {"level":"debug","msg":"found rule a-whoami.local 0 IN TXT  \"heritage=external-dns []","time":"2024-09-09T15:56:24Z"}                                                                 │
│ {"level":"debug","msg":"found rule block.local 0 IN A  192.168.0.10 []","time":"2024-09-09T15:56:24Z"}                                                                                 │
│ {"level":"debug","msg":"found rule block.local 0 IN TXT  \"heritage=external-dns []","time":"2024-09-09T15:56:24Z"}                                                                    │
│ {"level":"debug","msg":"found rule a-block.local 0 IN TXT  \"heritage=external-dns []","time":"2024-09-09T15:56:24Z"}                                                                  │
│ {"level":"debug","msg":"found rule whoami.local 0 IN A  192.168.0.10 []","time":"2024-09-09T15:56:24Z"}                                                                                │
│ {"level":"debug","msg":"found rule whoami.local 0 IN TXT  \"heritage=external-dns []","time":"2024-09-09T15:56:24Z"}                                                                   │
│ {"level":"debug","msg":"returning records count: 6","requestMethod":"GET","requestPath":"/records","time":"2024-09-09T15:56:24Z"}                                                           │
│ {"level":"debug","msg":"requesting adjust endpoints count: 1","time":"2024-09-09T15:56:24Z"}                                                                                                │
│ {"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 1","time":"2024-09-09T15:56:24Z"} 

Kubernetes version: v1.30.4
Gateway implementation: cilium
Cilium Version: 1.16.1
External-dns Version: 0.15.0
Provider Version: 7.0.0

@muhlba91
Copy link
Owner

hi,

could you also enable debug logging in external-dns and post the logs?

external-dns should send the records to be deleted to the webhook provider.
this provider takes care of deleting them when sending the updated list of entries to adguard - see unit tests here: https://github.com/muhlba91/external-dns-provider-adguard/blob/main/internal/adguard/provider_test.go#L595-L674

@kha7iq
Copy link
Author

kha7iq commented Sep 15, 2024

Sorry for getting back late.
A bit of context i was using the official chart from external-dns before. So this time i followed the readme and did a clean install of external-dns following README.md
Unfortunately the result is still the same.

Debug logs for external-dns after removing the record

time="2024-09-15T05:37:25Z" level=info msg="Instantiating new Kubernetes client"
time="2024-09-15T05:37:25Z" level=debug msg="apiServerURL: "
time="2024-09-15T05:37:25Z" level=debug msg="kubeConfig: "
time="2024-09-15T05:37:25Z" level=info msg="Using inCluster-config based on serviceaccount-token"
time="2024-09-15T05:37:26Z" level=debug msg="apiServerURL: "
time="2024-09-15T05:37:26Z" level=debug msg="kubeConfig: "
time="2024-09-15T05:37:26Z" level=info msg="Using inCluster-config based on serviceaccount-token"
time="2024-09-15T05:37:26Z" level=info msg="Created GatewayAPI client https://10.245.0.1:443"
time="2024-09-15T05:37:27Z" level=debug msg="Failed to connect to webhook: Get "http://localhost:8888\": dial tcp [::1]:8888: connect: connection refused"
time="2024-09-15T05:37:28Z" level=debug msg="Failed to connect to webhook: Get "http://localhost:8888\": dial tcp [::1]:8888: connect: connection refused"
time="2024-09-15T05:37:28Z" level=debug msg="Failed to connect to webhook: Get "http://localhost:8888\": dial tcp [::1]:8888: connect: connection refused"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service cilium-test/echo-same-node"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service dns/unbound"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service kube-system/kube-prometheus-stack-coredns"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service dns/adguard-home-dns"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service gateway/cilium-gateway-internal"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service observe/kube-prometheus-stack-prometheus"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service security/authentik-redis-headless"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service argocd/argocd-repo-server"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service cert-manager/cert-manager"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service db/homeops-postgresql-ro"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service default/kubernetes"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service security/authentik-server"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service observe/kube-prometheus-stack-operator"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service security/authentik-server-metrics"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service dns/adguard-home-http"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service kube-system/hubble-peer"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service kube-system/kube-dns"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service kube-system/kubelet-csr-approver"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service db/cnpg-webhook-service"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service db/homeops-postgresql-r"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service db/homeops-postgresql-rw"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service kube-system/kube-prometheus-stack-kube-scheduler"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service argocd/argocd-dex-server"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service argocd/argocd-server"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service cert-manager/cert-manager-webhook"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service cilium-test/echo-other-node"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service security/authentik-redis-master"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service kube-system/host-dns"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service kube-system/hubble-relay"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service observe/kube-prometheus-stack-alertmanager"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service observe/prometheus-operated"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service observe/kube-prometheus-stack-prometheus-node-exporter"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service argocd/argocd-applicationset-controller"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service default/talos"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service observe/alertmanager-operated"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service observe/kube-prometheus-stack-kube-state-metrics"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service argocd/argocd-redis"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service kube-system/kube-prometheus-stack-kube-controller-manager"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service kube-system/kube-prometheus-stack-kube-etcd"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service kube-system/kube-prometheus-stack-kubelet"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service observe/metrics-server"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service cilium-test/cilium-ingress-ingress-service"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service dns/external-dns-adguard"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service gateway/cilium-gateway-external"
time="2024-09-15T05:37:38Z" level=debug msg="No endpoints could be generated from service kube-system/hubble-ui"
time="2024-09-15T05:37:38Z" level=debug msg="Endpoints generated from HTTPRoute dns/adguard: [block.local 0 IN A 192.168.0.10 []]"
time="2024-09-15T05:37:38Z" level=info msg="All records are already up to date"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service cilium-test/echo-same-node"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service dns/unbound"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service kube-system/kube-prometheus-stack-coredns"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service observe/kube-prometheus-stack-prometheus"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service security/authentik-redis-headless"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service argocd/argocd-repo-server"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service cert-manager/cert-manager"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service db/homeops-postgresql-ro"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service default/kubernetes"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service dns/adguard-home-dns"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service gateway/cilium-gateway-internal"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service security/authentik-server"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service dns/adguard-home-http"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service kube-system/hubble-peer"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service kube-system/kube-dns"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service kube-system/kubelet-csr-approver"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service observe/kube-prometheus-stack-operator"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service security/authentik-server-metrics"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service db/homeops-postgresql-rw"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service kube-system/kube-prometheus-stack-kube-scheduler"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service argocd/argocd-dex-server"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service argocd/argocd-server"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service cert-manager/cert-manager-webhook"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service cilium-test/echo-other-node"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service db/cnpg-webhook-service"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service db/homeops-postgresql-r"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service security/authentik-redis-master"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service kube-system/host-dns"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service kube-system/hubble-relay"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service observe/kube-prometheus-stack-alertmanager"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service observe/prometheus-operated"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service argocd/argocd-applicationset-controller"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service default/talos"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service observe/alertmanager-operated"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service observe/kube-prometheus-stack-kube-state-metrics"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service observe/kube-prometheus-stack-prometheus-node-exporter"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service default/whoami"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service argocd/argocd-redis"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service kube-system/kube-prometheus-stack-kubelet"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service observe/metrics-server"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service cilium-test/cilium-ingress-ingress-service"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service dns/external-dns-adguard"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service gateway/cilium-gateway-external"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service kube-system/hubble-ui"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service kube-system/kube-prometheus-stack-kube-controller-manager"
time="2024-09-15T05:38:39Z" level=debug msg="No endpoints could be generated from service kube-system/kube-prometheus-stack-kube-etcd"
time="2024-09-15T05:38:39Z" level=debug msg="Endpoints generated from HTTPRoute dns/adguard: [block.local 0 IN A 192.168.0.10 []]"
time="2024-09-15T05:38:39Z" level=debug msg="Endpoints generated from HTTPRoute default/whoami-http-route: [block.local 0 IN A 192.168.0.10 [] whoami.local 0 IN A 192.168.0.10 []]"
time="2024-09-15T05:39:38Z" level=debug msg="No endpoints could be generated from service db/homeops-postgresql-ro"
time="2024-09-15T05:39:38Z" level=debug msg="No endpoints could be generated from service default/kubernetes"

Removed repeated info to keep it short

time="2024-09-15T05:39:38Z" level=debug msg="No endpoints could be generated from service dns/external-dns-adguard"
time="2024-09-15T05:39:38Z" level=debug msg="No endpoints could be generated from service kube-system/kube-prometheus-stack-coredns"
time="2024-09-15T05:39:38Z" level=debug msg="No endpoints could be generated from service cilium-test/echo-same-node"
time="2024-09-15T05:39:38Z" level=debug msg="No endpoints could be generated from service dns/unbound"
time="2024-09-15T05:39:38Z" level=debug msg="Endpoints generated from HTTPRoute dns/adguard: [block.local 0 IN A 192.168.0.10 []]"
time="2024-09-15T05:39:38Z" level=debug msg="Endpoints generated from HTTPRoute default/whoami-http-route: [block.local 0 IN A 192.168.0.10 [] whoami.local 0 IN A 192.168.0.10 []]"
time="2024-09-15T05:39:38Z" level=info msg="All records are already up to date"
time="2024-09-15T05:40:39Z" level=debug msg="No endpoints could be generated from service dns/unbound"
time="2024-09-15T05:40:39Z" level=debug msg="No endpoints could be generated from service kube-system/kube-prometheus-stack-coredns"
time="2024-09-15T05:40:39Z" level=debug msg="No endpoints could be generated from service default/kubernetes"
time="2024-09-15T05:40:39Z" level=debug msg="No endpoints could be generated from service dns/adguard-home-dns"
time="2024-09-15T05:40:39Z" level=debug msg="No endpoints could be generated from service gateway/cilium-gateway-internal"
time="2024-09-15T05:40:39Z" level=debug msg="No endpoints could be generated from service observe/kube-prometheus-stack-prometheus"
time="2024-09-15T05:40:39Z" level=debug msg="No endpoints could be generated from service security/authentik-redis-headless"
time="2024-09-15T05:40:39Z" level=debug msg="No endpoints could be generated from service argocd/argocd-repo-server"
time="2024-09-15T05:40:39Z" level=debug msg="No endpoints could be generated from service cert-manager/cert-manager"
time="2024-09-15T05:40:39Z" level=debug msg="No endpoints could be generated from service db/homeops-postgresql-ro"
time="2024-09-15T05:40:39Z" level=debug msg="No endpoints could be generated from service security/authentik-server"
time="2024-09-15T05:40:39Z" level=debug msg="Endpoints generated from HTTPRoute dns/adguard: [block.local 0 IN A 192.168.0.10 []]"

Removed repeated info to keep it short

time="2024-09-15T06:08:55Z" level=debug msg="No endpoints could be generated from service default/whoami"
time="2024-09-15T06:08:55Z" level=debug msg="No endpoints could be generated from service argocd/argocd-applicationset-controller"
time="2024-09-15T06:08:55Z" level=debug msg="No endpoints could be generated from service default/talos"
time="2024-09-15T06:08:55Z" level=debug msg="No endpoints could be generated from service observe/alertmanager-operated"
time="2024-09-15T06:08:55Z" level=debug msg="No endpoints could be generated from service observe/kube-prometheus-stack-kube-state-metrics"
time="2024-09-15T06:08:55Z" level=debug msg="No endpoints could be generated from service argocd/argocd-redis"
time="2024-09-15T06:08:55Z" level=debug msg="Endpoints generated from HTTPRoute dns/adguard: [block.local 0 IN A 192.168.0.10 []]"
time="2024-09-15T06:08:55Z" level=info msg="All records are already up to date"

Webhook container logs

{"level":"info","msg":"creating adguard provider with no kind of domain filters","time":"2024-09-15T05:37:20Z"}
{"level":"debug","msg":"using adguard at http://adguard-home-http.dns.svc.cluster.local:3000","time":"2024-09-15T05:37:20Z"}
{"level":"debug","msg":"making GET request to /status","time":"2024-09-15T05:37:20Z"}

external-dns-provider-adguard
version: v7.0.0 (59eef64)

{"level":"debug","msg":"response code from GET request to status: 200","time":"2024-09-15T05:37:29Z"}
{"level":"info","msg":"starting server on addr: '0.0.0.0:8888' ","time":"2024-09-15T05:37:29Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:37:29Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:37:29Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:37:38Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10 |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/dns/adguard" |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/dns/adguard"]}","time":"2024-09-15T05:37:38Z"}
{"level":"debug","msg":"found rule block.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:37:38Z"}
{"level":"debug","msg":"found rule block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:37:38Z"}
{"level":"debug","msg":"found rule a-block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:37:38Z"}
{"level":"debug","msg":"returning records count: 3","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:37:38Z"}
{"level":"debug","msg":"requesting adjust endpoints count: 1","time":"2024-09-15T05:37:38Z"}
{"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 1","time":"2024-09-15T05:37:38Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:38:29Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:38:29Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:38:39Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10 |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/dns/adguard" |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/dns/adguard"]}","time":"2024-09-15T05:38:39Z"}
{"level":"debug","msg":"found rule block.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:38:39Z"}
{"level":"debug","msg":"found rule block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:38:39Z"}
{"level":"debug","msg":"found rule a-block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:38:39Z"}
{"level":"debug","msg":"returning records count: 3","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:38:39Z"}
{"level":"debug","msg":"requesting adjust endpoints count: 2","time":"2024-09-15T05:38:39Z"}
{"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 2","time":"2024-09-15T05:38:39Z"}
{"level":"debug","msg":"requesting apply changes, create: 3 , updateOld: 0, updateNew: 0, delete: 0","requestMethod":"POST","requestPath":"/records","time":"2024-09-15T05:38:39Z"}
{"level":"debug","msg":"received changes: \u0026{Create:[whoami.local 0 IN A 192.168.0.10 [] whoami.local 0 IN TXT "heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route" [] a-whoami.local 0 IN TXT "heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route" []] UpdateOld:[] UpdateNew:[] Delete:[]}","time":"2024-09-15T05:38:39Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:38:39Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:38:48Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10 |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/dns/adguard" |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/dns/adguard"]}","time":"2024-09-15T05:38:48Z"}
{"level":"debug","msg":"adding rule whoami.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:38:48Z"}
{"level":"debug","msg":"adding rule whoami.local 0 IN TXT "heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route" []","time":"2024-09-15T05:38:48Z"}
{"level":"debug","msg":"adding rule a-whoami.local 0 IN TXT "heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route" []","time":"2024-09-15T05:38:48Z"}
{"level":"debug","msg":"sending filtering rules: {[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |whoami.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important |a-whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important]}","time":"2024-09-15T05:38:48Z"}
{"level":"debug","msg":"making POST request to /filtering/set_rules","time":"2024-09-15T05:38:48Z"}
{"level":"debug","msg":"response code from POST request to filtering/set_rules: 200","time":"2024-09-15T05:38:56Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:39:29Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:39:29Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:39:38Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |whoami.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important |a-whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important]}","time":"2024-09-15T05:39:38Z"}
{"level":"debug","msg":"found rule block.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:39:38Z"}
{"level":"debug","msg":"found rule block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:39:38Z"}
{"level":"debug","msg":"found rule a-block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:39:38Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:39:38Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:39:38Z"}
{"level":"debug","msg":"found rule a-whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:39:38Z"}
{"level":"debug","msg":"returning records count: 6","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:39:38Z"}
{"level":"debug","msg":"requesting adjust endpoints count: 2","time":"2024-09-15T05:39:38Z"}
{"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 2","time":"2024-09-15T05:39:38Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:40:30Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:40:30Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:40:39Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |whoami.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important |a-whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important]}","time":"2024-09-15T05:40:39Z"}
{"level":"debug","msg":"found rule block.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:40:39Z"}
{"level":"debug","msg":"found rule block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:40:39Z"}
{"level":"debug","msg":"found rule a-block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:40:39Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:40:39Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:40:39Z"}
{"level":"debug","msg":"found rule a-whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:40:39Z"}
{"level":"debug","msg":"returning records count: 6","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:40:39Z"}
{"level":"debug","msg":"requesting adjust endpoints count: 1","time":"2024-09-15T05:40:39Z"}
{"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 1","time":"2024-09-15T05:40:39Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:41:30Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:41:30Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:41:39Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |whoami.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important |a-whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important]}","time":"2024-09-15T05:41:39Z"}
{"level":"debug","msg":"found rule block.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:41:39Z"}
{"level":"debug","msg":"found rule block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:41:39Z"}
{"level":"debug","msg":"found rule a-block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:41:39Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:41:39Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:41:39Z"}
{"level":"debug","msg":"found rule a-whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:41:39Z"}
{"level":"debug","msg":"returning records count: 6","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:41:39Z"}
{"level":"debug","msg":"requesting adjust endpoints count: 1","time":"2024-09-15T05:41:39Z"}
{"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 1","time":"2024-09-15T05:41:39Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:42:31Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:42:31Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:42:40Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |whoami.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important |a-whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important]}","time":"2024-09-15T05:42:40Z"}
{"level":"debug","msg":"found rule block.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:42:40Z"}
{"level":"debug","msg":"found rule block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:42:40Z"}
{"level":"debug","msg":"found rule a-block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:42:40Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:42:40Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:42:40Z"}
{"level":"debug","msg":"found rule a-whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:42:40Z"}
{"level":"debug","msg":"returning records count: 6","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:42:40Z"}
{"level":"debug","msg":"requesting adjust endpoints count: 1","time":"2024-09-15T05:42:40Z"}
{"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 1","time":"2024-09-15T05:42:40Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:43:32Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:43:32Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:43:40Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |whoami.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important |a-whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important]}","time":"2024-09-15T05:43:40Z"}
{"level":"debug","msg":"found rule block.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:43:40Z"}
{"level":"debug","msg":"found rule block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:43:40Z"}
{"level":"debug","msg":"found rule a-block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:43:40Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:43:40Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:43:40Z"}
{"level":"debug","msg":"found rule a-whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:43:40Z"}
{"level":"debug","msg":"returning records count: 6","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:43:40Z"}
{"level":"debug","msg":"requesting adjust endpoints count: 1","time":"2024-09-15T05:43:40Z"}
{"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 1","time":"2024-09-15T05:43:40Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:44:33Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:44:33Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:44:45Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |whoami.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important |a-whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important]}","time":"2024-09-15T05:44:45Z"}
{"level":"debug","msg":"found rule block.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:44:45Z"}
{"level":"debug","msg":"found rule block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:44:45Z"}
{"level":"debug","msg":"found rule a-block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:44:45Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:44:45Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:44:45Z"}
{"level":"debug","msg":"found rule a-whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:44:45Z"}
{"level":"debug","msg":"returning records count: 6","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:44:45Z"}
{"level":"debug","msg":"requesting adjust endpoints count: 1","time":"2024-09-15T05:44:45Z"}
{"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 1","time":"2024-09-15T05:44:45Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:45:33Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:45:33Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:45:41Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |whoami.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important |a-whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important]}","time":"2024-09-15T05:45:41Z"}
{"level":"debug","msg":"found rule block.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:45:41Z"}
{"level":"debug","msg":"found rule block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:45:41Z"}
{"level":"debug","msg":"found rule a-block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:45:41Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:45:41Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:45:41Z"}
{"level":"debug","msg":"found rule a-whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:45:41Z"}
{"level":"debug","msg":"returning records count: 6","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:45:41Z"}
{"level":"debug","msg":"requesting adjust endpoints count: 1","time":"2024-09-15T05:45:41Z"}
{"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 1","time":"2024-09-15T05:45:41Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:46:34Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:46:34Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:46:43Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |whoami.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important |a-whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important]}","time":"2024-09-15T05:46:43Z"}
{"level":"debug","msg":"found rule block.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:46:43Z"}
{"level":"debug","msg":"found rule block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:46:43Z"}
{"level":"debug","msg":"found rule a-block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:46:43Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:46:43Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:46:43Z"}
{"level":"debug","msg":"found rule a-whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:46:43Z"}
{"level":"debug","msg":"returning records count: 6","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:46:43Z"}
{"level":"debug","msg":"requesting adjust endpoints count: 1","time":"2024-09-15T05:46:43Z"}
{"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 1","time":"2024-09-15T05:46:43Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:47:35Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:47:35Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:47:44Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |whoami.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important |a-whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important]}","time":"2024-09-15T05:47:44Z"}
{"level":"debug","msg":"found rule block.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:47:44Z"}
{"level":"debug","msg":"found rule block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:47:44Z"}
{"level":"debug","msg":"found rule a-block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:47:44Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:47:44Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:47:44Z"}
{"level":"debug","msg":"found rule a-whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:47:44Z"}
{"level":"debug","msg":"returning records count: 6","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:47:44Z"}
{"level":"debug","msg":"requesting adjust endpoints count: 1","time":"2024-09-15T05:47:44Z"}
{"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 1","time":"2024-09-15T05:47:44Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:48:36Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:48:36Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:48:45Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |whoami.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important |a-whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important]}","time":"2024-09-15T05:48:45Z"}
{"level":"debug","msg":"found rule block.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:48:45Z"}
{"level":"debug","msg":"found rule block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:48:45Z"}
{"level":"debug","msg":"found rule a-block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:48:45Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:48:45Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:48:45Z"}
{"level":"debug","msg":"found rule a-whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:48:45Z"}
{"level":"debug","msg":"returning records count: 6","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:48:45Z"}
{"level":"debug","msg":"requesting adjust endpoints count: 1","time":"2024-09-15T05:48:45Z"}
{"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 1","time":"2024-09-15T05:48:45Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:49:36Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:49:36Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:49:44Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |whoami.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important |a-whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important]}","time":"2024-09-15T05:49:44Z"}
{"level":"debug","msg":"found rule block.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:49:44Z"}
{"level":"debug","msg":"found rule block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:49:44Z"}
{"level":"debug","msg":"found rule a-block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:49:44Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:49:44Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:49:44Z"}
{"level":"debug","msg":"found rule a-whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:49:44Z"}
{"level":"debug","msg":"returning records count: 6","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:49:44Z"}
{"level":"debug","msg":"requesting adjust endpoints count: 1","time":"2024-09-15T05:49:44Z"}
{"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 1","time":"2024-09-15T05:49:44Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:50:36Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:50:36Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:50:46Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |whoami.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important |a-whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important]}","time":"2024-09-15T05:50:46Z"}
{"level":"debug","msg":"found rule block.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:50:46Z"}
{"level":"debug","msg":"found rule block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:50:46Z"}
{"level":"debug","msg":"found rule a-block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:50:46Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:50:46Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:50:46Z"}
{"level":"debug","msg":"found rule a-whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:50:46Z"}
{"level":"debug","msg":"returning records count: 6","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:50:46Z"}
{"level":"debug","msg":"requesting adjust endpoints count: 1","time":"2024-09-15T05:50:46Z"}
{"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 1","time":"2024-09-15T05:50:46Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:51:37Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:51:37Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:51:47Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |whoami.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important |a-whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important]}","time":"2024-09-15T05:51:47Z"}
{"level":"debug","msg":"found rule block.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:51:47Z"}
{"level":"debug","msg":"found rule block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:51:47Z"}
{"level":"debug","msg":"found rule a-block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:51:47Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:51:47Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:51:47Z"}
{"level":"debug","msg":"found rule a-whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:51:47Z"}
{"level":"debug","msg":"returning records count: 6","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:51:47Z"}
{"level":"debug","msg":"requesting adjust endpoints count: 1","time":"2024-09-15T05:51:47Z"}
{"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 1","time":"2024-09-15T05:51:47Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:52:37Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:52:37Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:52:46Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |whoami.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important |a-whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important]}","time":"2024-09-15T05:52:46Z"}
{"level":"debug","msg":"found rule block.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:52:46Z"}
{"level":"debug","msg":"found rule block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:52:46Z"}
{"level":"debug","msg":"found rule a-block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:52:46Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:52:46Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:52:46Z"}
{"level":"debug","msg":"found rule a-whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:52:46Z"}
{"level":"debug","msg":"returning records count: 6","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:52:46Z"}
{"level":"debug","msg":"requesting adjust endpoints count: 1","time":"2024-09-15T05:52:46Z"}
{"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 1","time":"2024-09-15T05:52:46Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:53:37Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:53:37Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:53:46Z"}
{"level":"debug","msg":"retrieved filtering rules: {UserRules:[ |block.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |a-block.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,important |whoami.local^$dnsrewrite=NOERROR;A;192.168.0.10,important |whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important |a-whoami.local^$dnsrewrite=NOERROR;TXT;"heritage=external-dns,external-dns/owner=default,external-dns/resource=httproute/default/whoami-http-route",important]}","time":"2024-09-15T05:53:46Z"}
{"level":"debug","msg":"found rule block.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:53:46Z"}
{"level":"debug","msg":"found rule block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:53:46Z"}
{"level":"debug","msg":"found rule a-block.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:53:46Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN A 192.168.0.10 []","time":"2024-09-15T05:53:46Z"}
{"level":"debug","msg":"found rule whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:53:46Z"}
{"level":"debug","msg":"found rule a-whoami.local 0 IN TXT "heritage=external-dns []","time":"2024-09-15T05:53:46Z"}
{"level":"debug","msg":"returning records count: 6","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:53:46Z"}
{"level":"debug","msg":"requesting adjust endpoints count: 1","time":"2024-09-15T05:53:46Z"}
{"level":"debug","msg":"return adjust endpoints response, resultEndpointCount: 1","time":"2024-09-15T05:53:46Z"}
{"level":"debug","msg":"requesting records","requestMethod":"GET","requestPath":"/records","time":"2024-09-15T05:54:38Z"}
{"level":"debug","msg":"making GET request to /filtering/status","time":"2024-09-15T05:54:38Z"}
{"level":"debug","msg":"response code from GET request to filtering/status: 200","time":"2024-09-15T05:54:47Z"}

values.yaml

provider: webhook

extraArgs:
  webhook-provider-url: http://localhost:8888

sidecars:
  - name: adguard-webhook
    image: ghcr.io/muhlba91/external-dns-provider-adguard:v7.0.0
    ports:
      - containerPort: 8888
        name: http
    livenessProbe:
      httpGet:
        path: /healthz
        port: http
      initialDelaySeconds: 10
      timeoutSeconds: 5
    readinessProbe:
      httpGet:
        path: /healthz
        port: http
      initialDelaySeconds: 10
      timeoutSeconds: 5
    env:
      - name: LOG_LEVEL
        value: debug
      - name: ADGUARD_URL
        valueFrom:
          secretKeyRef:
            name: adguard-configuration
            key: url
      - name: ADGUARD_USER
        valueFrom:
          secretKeyRef:
            name: adguard-configuration
            key: user
      - name: ADGUARD_PASSWORD
        valueFrom:
          secretKeyRef:
            name: adguard-configuration
            key: password
      - name: SERVER_HOST
        value: "0.0.0.0" 
      - name: DRY_RUN
        value: "false"  

logLevel: debug

sources:
  - service
  - gateway-httproute
  - gateway-grpcroute
  - gateway-tlsroute
  - gateway-tcproute
  - gateway-udproute

Whoami service is deployed in default namespace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants