DNS resolver hostname
-
@thebusyguy22 Regardless of their reported hostname, you can still add a DNS host override and then refer to them as whatever you like.
-
This post is deleted! -
This post is deleted! -
@kom is what I'm trying to get is the DHCP lease to update the hostname to the newly created domain name. So for example creating alexa3 would update my lease host name to alexa3.home.local for example. I can ping Alexa3 just fine so that part is working as expected it's just getting it to reflect on the DHCP list.
-
@thebusyguy22 said in DNS resolver hostname:
it's just getting it to reflect on the DHCP list.
You mean like this?
Just put the hostname you want in your reservation
-
@johnpoz okay I can do that too I was just trying to avoid have to have static IP's for them if at all possible. It's just weird to me why DNS resolver isn't changing it.
-
Why would you think dns resolver would have anything to do with the hostname presented to the dhcp server.
The alexa device is going to present its whatever random sort of amazon name it has to your dhcp server - that is what the dhcp server will use. Unless you create a reservation and say use this hostname for this mac.
be it you assign an IP or not - you can have it pull from the pool. But why would you not just assign it a specific IP.. While your creating the reservation, etc.
-
@johnpoz well any time in the past when I set the domain name it reflects back to that in the DHCP leases. If you don't see any reason it's an issue doing it via static mapping then I have no issue doing it that way. Thank you very much for your help and input I appreciate if!
-
@thebusyguy22 said in DNS resolver hostname:
when I set the domain name it reflects back to that in the DHCP leases.
Where? Are you setting this - on the device/host. Domain name, not host name?
Think you confusing dhcp name reflecting in dns.. Via registration of the dhcp in dns.
-
@johnpoz yes sorry I ment to say host name. So when I create an override say I name host Camera it usually shows up on the DHCP list as Camera.local.home on the lease page under hostname.
-
If the client sends that as its hostname.. Then ok - but dhcp leases shouldn't be showing a fqdn.. It would only be showing the hostname.
If you want client amazon-random# to show up as alexa-name in your dhcp lease. The correct solution is to either have that specific client send that hostname to the dhcpd, which I don't think you can do on alexa. Or tell the dhcp server to use hostname xyz in the host name when you set a reservation.
If your setting reservations for your clients, and register that in dhcp settings - then all your dns is taken care of.