Problems resolving dhcp hostnames
-
Hey guys,
im quite new to the forum thing, was ever only reading through but now i dont find any solution to my problem, and was hoping one of you guys would take the time to think about this..
So here's my setup.
I have a PfSense community edition firewall as my gateway, it serves 3 vlans, dmz local and wifi.
I have configured static dhcp leases for most of my dmz and local network, but i cant query the hostnames in my pfsense via dns.
I go to Diagnostics > DNS Lookup > And then i enter for example srvdocker (which would for instance be a dhcp record for 10.0.0.5). So i would assume, that it resolves on 10.0.0.5 but cant get the ip to resolve at all. It queries 127.0.0.1 (so localhost) but cannot validate its own dhcp entry?The essential problem lives within the use of "ping hostname" and it resolves instantly to the hostname, without the need of ping hostname.local <- but to be clear, this setup doesnt work as well, so i cant query hostname or fqdn..
I would, if the pfsense could resolve it's own dhcp entries/leases, forward them to my adguard instance, so that it can resolve them properly..I hope, someone can help me figgure this problem out..
-
@pika
Presuming you've enabled DNS Resolver in pfSense, you have to enable "Register DHCP static mappings in the DNS Resolver".However, I'm not sure if this already works with KEA DHCP. Maybe you need to use ISC DHCP server.
-
Hey man, thanks for the quick reply.
Yea ive heared that from llms already, but i do not have this option..Or maybe its somewhere else? I dont know, the documentation online is also confusing, becouse it says netgate and some of the options covered in the documentation also dont seem to be existing in this version..
-
@pika
It's in the DNS Resolver settings.
But as mentioned, maybe it's not there and hence not supported, since you've enabled KEA.