How do I change the name of the client from wg-easy docker-compose with Pi-hole?

I have created an issue on wg-easy's GitHub page but no reply so far.
I hope someone here can take a look and help me with this.

My docker-compose.yml is attached in the issue.

It seems that wg-easy is another Docker container?
If that's the case, you probably can change that container's name.

Alternatively, you may shadow that name via Pi-hole's UI by creating a Local DNS record for the respective IP.

1 Like

Never mind. I found the solution from this post

It's local DNS > DNS Records.

Thank you. I was reading the last 5 posts suggested to me when making this post. I tried that solution and it worked.