Lost connection to api

Hi,
I wasn't able to install pihole due to a git issue and I would clean up all my server so I descided to reset it.
After reset to debian buster 64x
I installed pihole
=>

apt-get update
apt-get upgrade
curl pihole

Every thing runned fin no problems during the install.
But when I went to the webapi I got the message "lost connection to api"
I searched on Google and so that I'm not the first one who got issues with it but I couldn't find any way to solve the problem until now.

  • dnsmasq is not installed.
- pihole status
  [✓] DNS service is running
  [✓] Pi-hole blocking is Enabled

- pihole -up
  [i] Checking for updates...
  [i] Pi-hole Core:     up to date
  [i] Web Interface:    up to date
  [i] FTL:              up to date

  [✓] Everything is up to date!

- pihole restartdns
  [✓] Restarting DNS server

-pihole -d

https://tricorder.pi-hole.net/qudanc58lv

I don't know what else do you need to help me fixing it
thanks

You have another DNS server running on port 53, and this is preventing pihole-FTL from binding to that port.

*** [ DIAGNOSING ]: Ports in use
...
[53] is in use by named (https://docs.pi-hole.net/main/prerequisites/#ports)
[53] is in use by named (https://docs.pi-hole.net/main/prerequisites/#ports)

I'm bad because I sow this topic and I was like but I never installed that dns ...hahaha
thanks