Pihole shows my access point IP instead of client ips

I have pihole running as a docker container in my network.

My network looks like:

Internet provider => router => access point => clients

I set up dhcp with pihole address as dns on the router and all clients get pihole ip as dns server.
Problem is that all clients that connect through acess point don't appears on the pihole dashboard.
I can see only access point ip. Clients connect directly to the router show up on the pihole dashboard.
Where is the problem here?

I'd guess your AP is NATting traffic for clients connected to it.

On some APs, this behaviour can be changed by chosing a different mode of operation. The exact wording and availability differs among make and model, so your best option would be to check your AP's documentation or support.

I am using Asus AC-55u router as a access point. It works well and do not see any other mode I can choose instead on it

For a router, NAT is the default.
But then, most routers would allow to configure another mode of operation.

If your router doesn't support that, you are stuck with it doing NAT (though I'd be surprised if ASUS wouldn't support it).

I don't know the exact model you have, but did you connect your router to the WAN port of the access point? There may be a mode available that allows you connect your existing network to the LAN ports of your Asus AC-55u router. Mind that you need to disable DHCP in the latter in such a configuration to prevent problems.

If you can share some screenshots of the config menu, this could help us to identify what to recommend.

My Asus ac55u router act as access point. I connected router to lan port of ac but it does not matter in Ac mode (found it in docs)

This looks like the correct mode.

If you just changed that, your clients may not be aware of it.
Try dis- and reconnecting them to have them acquire DHCP information anew.

Also, did you try to connect your AC-55U access point's WAN port to one of your main router's LAN ports yet?

Tried to reconnect clients but without success. Also connect router to different Ac port

How to access the Wireless Router Mode?
meilleur taux

Can you verify that this is also true for the WiFi connected clients or does the router maybe modify the DHCP information it forwards to your wireless clients?

There is no difference If i connect to AC using wifi or cable, clients still dont show in pihole.
Exceptions are clients connected to router

Yeah, what I meant was if the clients receive the Pi-hole as DNS server in their networking settings.

Yes, all clients receive dns as pihole IP correctly

Then your router seems to be doing packet capturing and rewriting. This is a very dirty (and absolutely unnecessary!) thing to do but I'm afraid you will not be able to change it with this device. We've seen this in the past with some Google products, however, I'm surprised Asus is jumping on the bandwagon as well. Any comments on this @Bucking_Horn? Maybe I'm overseeing something, but I don't think so.

I recall some Asus router models would silently hand out their own IP address as DNS server in addition to any UI configured ones.
But then I wouldn't think the AC-55U would act as a DHCP server in AP mode.

Let's have a closer look at a client's network configuration.

Would you be able to provide the output of the following command for a Windows machine connected through your AC-55U?

ipconfig /all

ipconfig /all: https://pastebin.pl/view/95f1d967

MODERATOR EDIT (@DL6ER)

I'll add the content here because I wasn't able to access pastebin.pl from my regular computer for some unknown reason:

Windows IP Configuration
        
        Host Name . . . . . . . . . . . . : *************
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Hybrid
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . : home
        
Wireless LAN adapter Połączenie lokalne* 1:
        
        Media State . . . . . . . . . . . : Media disconnected
        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
        Physical Address. . . . . . . . . : B6-6B-FC-79-F3-C4
        DHCP Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        
Wireless LAN adapter Połączenie lokalne* 2:
        
        Media State . . . . . . . . . . . : Media disconnected
        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter #2
        Physical Address. . . . . . . . . : B4-6B-FC-79-F3-C5
        DHCP Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        
Wireless LAN adapter Wi-Fi:
        
        Connection-specific DNS Suffix  . : home
        Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 7265
        Physical Address. . . . . . . . . : B4-6B-FC-79-F3-C4
        DHCP Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        Link-local IPv6 Address . . . . . : fe80::71fc:2dcc:a054:66b5%12(Preferred)
        IPv4 Address. . . . . . . . . . . : 192.168.0.80(Preferred)
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Lease Obtained. . . . . . . . . . : wtorek, 1 grudnia 2020 12:24:46
        Lease Expires . . . . . . . . . . : środa, 2 grudnia 2020 12:24:47
        Default Gateway . . . . . . . . . : 192.168.0.1
        DHCP Server . . . . . . . . . . . : 192.168.0.1
        DHCPv6 IAID . . . . . . . . . . . : 129264636
        DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-23-F9-F8-DE-B4-6B-FC-79-F3-C4
        DNS Servers . . . . . . . . . . . : 192.168.0.20
        NetBIOS over Tcpip. . . . . . . . : Enabled
        Connection-specific DNS Suffix Search List :
                                            home

(You can paste text or images directly into your posts here. :wink:)

Your client output looks normal, no extra DNS servers.

Run from your Pi-hole machine, what's the output of:

echo ">top-clients withzero (12) >quit" | nc 127.0.0.1 4711
root@pihole:/# echo ">top-clients withzero (12) >quit" | nc 127.0.0.1 4711
0 14636 192.168.0.3 
1 1100 127.0.0.1 localhost
2 142 192.168.0.1 
3 73 192.168.0.10 
4 62 192.168.0.18 qbittorrent.mcvlan
5 46 192.168.0.55 
6 16 192.168.0.66 
7 14 192.168.0.100 emby.mcvlan
8 8 192.168.0.81 
9 4 192.168.0.150 

192.168.0.3 is my access point address

Are you running the stock firmware on your RT-AC55U?

Some alternate firmwares may offer global DNS filtering, which may redirect all DNS traffic to a specific DNS server.

Stock, there is no alternatives for 55u
Can I use my router (edgerouter ex-r) as dns server on access point and do filtering there?