Unable to connect

I am getting dns timeout on my windows computer. Also in pihole everything is zero. I am using docker. Please help

Ports
image

I have made pihole using docker.



version: "3"

# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
services:
  pihole:
    container_name: pihole
    image: pihole/pihole:latest
    # For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
    ports:
      - "53:53/tcp"
      - "53:53/udp"
      - "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
      - "1010:80/tcp"
      - "4443:443/tcp"
    environment:
      TZ: 'Asia/Kolkata'
      # WEBPASSWORD: 'set a secure password here or it will be random'
    # Volumes store your data between container upgrades
    volumes:
      - './etc-pihole:/etc/pihole'
      - './etc-dnsmasq.d:/etc/dnsmasq.d'
    #   https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
    cap_add:
      - NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
    restart: unless-stopped

image
Port 53 is used by process user:"named"

Do I need to add the bridge here in pihole network ?
Also the pihole is configured in different port ? Is that the issue ?

Similar issue like DNS Request Timeout - Help - Pi-hole Userspace

Debug log file : Pihole/pihole_debug.log at main · Chirag-Nahata/Pihole · GitHub

Github issue : Pi Hole unable to run · Issue #1223 · pi-hole/docker-pi-hole · GitHub
Reddit issue : https://www.reddit.com/r/pihole/comments/xzfe5h/pihole_unable_to_run_issue/

Sounds like Windows isn't using the Pi-hole or can even reach a DNS server. Please give more information and follow the Help template which shows when you make a new post, and also post your pihole debug token (just the token URL, not the whole log). That way people can delve into it and help work out what's going on.

Please help us by following our help template. In particular, we have no debug log, which is our primary diagnostic tool.

Check the edit

Check the edit

From your screenshot on Github,

You have port 53 used on the host device.

194710619-6588cd87-3066-4872-b6df-4cb9d455bc2d

Edit:

- "1100:53/tcp"
- "1101:53/udp"

You can't do that unless you have a way to make every client use port 1100.

No debug token in the edit.

Dan is right:
Virtually any piece of software will use port 53 to send DNS requests, unless explicitly configured otherwise.

Change those ports back to 53.

But if the change the ports back to 53 it is giving the error that it is in use. How to solve that please help

Please create and upload a debug log and post just the tricorder debug token URL here.

From the Pi-hole command line enter

pihole -d -a

Or from the web interface it's Tools > Generate debug log and tick the :black_square_button: Upload box and then Generate

That would suggest another DNS resolver on the same machine is already claiming port 53.
You have to prevent that other DNS resolver from doing so, e.g. by disabling or uninstalling it.
On a Linux system, the followong command should help to identify the process that is currently binding port 53:

sudo ss -tulpn | grep "Netid\|:53 "

this processes are used by "named"

image

Moderator edit: explicit debug log removed

(Just post the token, please. For your own privacy and security, do not post the full, unsanitised debug log output here. You correctly posted a debug token earlier - I've reinstated that post. :wink: )

Please, don't paste your full log here (or github). Everybody can see your log.

Just paste your debug token (it's a URL showed after the log is created).
Only developers have access when you use the token.

Seems you are running bind on your machine.

If you do not depend on it for some reason, disable named
It would depend on your OS how to do that exactly.

You could try:

sudo systemctl stop named
sudo systemctl disable named

If that doesn't work, consult your OS documentation.

EDIT: Afterwards, use the sudo ss... command from above to verify that ports are free.

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

no nothing happened

Did you reverify by rerunning the ss command from above?
It should come back as an empty, headers only list, if stopping and disabling named has been successful.

after running sudo ss cannot find the port 53 listed there

Already changed DNSStubListener=yes to DNSStubListener=no