I can go to admin panel using IP of my pi-hole board or pi.hole/admin/ adres, but I can't use hostname: pihole/admin
Is pi.hole/admin hardcoded somewhere?
After run Update list command I found local.list file from pihole folder contains:
192.168.0.3 pihole
192.168.0.3 pi.hole
Why both? Can I use this file (local.list) to enter all ips of my network devices to proper resolve their names ie. "192.168.0.2 printer", so i can use printer instead of ip?
We limit access to the web interface to a few domains (listed here) for security reasons. Since both pi.hole and doubleclick.com resolve to the Pi-hole, we need to be sure that ad domains can't be used to access the web interface. We haven't added support for the local hostname yet.
The reason that the hostname and pi.hole are in local.list is so when the Pi-hole is disabled (through the web interface or CLI) you can still resolve those two domains since they're stored separately from the ad domains.
You should use Pi-hole only for your local DNS, not WAN. WAN is what your router uses for it's own DNS lookups.
You should add your local network hostnames to /etc/hosts so they can be resolved correctly. Using Pi-hole as your DHCP server would also automatically resolve device hostnames.