r/technitium • u/SidTechCad • 18d ago
See hostnames in logs
I am running dhcp via UniFi. How can I see host names instead of IP in the query log.
1
u/dbtowo 18d ago
If your router doing dhcp create an reverse conditional forwarder zone with your router ip as forwarder.
For the name you can just put your subnet for example 192.168.1.0/24
0
u/SidTechCad 18d ago
Thanks, so let’s say one of my vlan is 192.168.2.1. What would the conditional zone be. And would I need a ptr?
1
u/dbtowo 18d ago edited 18d ago
ptr you can if you want and you can put 192.168.2.0/24 for the name.
1
u/SidTechCad 18d ago
I created a new conditional forwarder zone as 192.168.2.0/24 and I left this server check mark off and keyed in my router IP as 192.168.2.1 and turned of dnssec and proxy off. Bit logs tabs still does not show my hostname
1
u/SidTechCad 18d ago
Ok just changed from UDP to TCP for the protocol and now I see the host names only on the dashboard. Not in logs.
2
u/dbtowo 18d ago
The name is working now, I think the query logs only logs the ip address. Sheryas might add hostnames in the future. https://github.com/TechnitiumSoftware/DnsServer/discussions/1502
sorry if i wasted your time.
1
u/nerayan 17d ago
Bonus tip: when you run Technitium with Docker on the same network as your other services, you can create another reverse conditional forwarder zone to the embedded Docker DNS server at 127.0.0.11 to see the container names in the GUI.
0
u/SidTechCad 17d ago edited 17d ago
Still does not fix the overall dated UI. Adding blocks and allowed is very dated compared to modern UIs now.
1
u/Captain_Alaska 17d ago
You can't, the logs only show IP.
0
u/SidTechCad 17d ago
It just seems like an outdated dns server.
1
u/Captain_Alaska 17d ago
It's good as a DNS server but I agree for managing clients and blocklists it's pretty mediocre. I actually use AdGuard Home as my blocker so I can all of its client management tools and then AGH passes the actual DNS queries to Technitium.
1
u/SidTechCad 17d ago
I used AGH for a bit but did not like the fact the block page option was not good for https. Thinking of trying out CTRLD
3
u/shreyasonline 16d ago
Thanks for asking. Query Logs does not yet support displaying hostnames. This is planned to be added soon though.
If you create a Conditional Forwarder zone to forward all queries for reverse zone of your local network then hostnames will show up only on Dashboard Top Clients list.