• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

DNS resolver hostname

Scheduled Pinned Locked Moved DHCP and DNS
dns resolverdhcp
12 Posts 3 Posters 1.6k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    thebusyguy22
    last edited by Jun 13, 2021, 12:02 AM

    I have some Amazon Dots that I assigned a hostname. They ping correctly the only problem is on the lease list they still show "amazon#######" I thought maybe just waiting for the lease to renew it may change but no such luck. Any insight would be awesome!

    K 1 Reply Last reply Jun 13, 2021, 3:27 AM Reply Quote 0
    • K
      KOM @thebusyguy22
      last edited by Jun 13, 2021, 3:27 AM

      @thebusyguy22 Regardless of their reported hostname, you can still add a DNS host override and then refer to them as whatever you like.

      T 3 Replies Last reply Jun 13, 2021, 4:43 AM Reply Quote 0
      • T
        thebusyguy22 @KOM
        last edited by Jun 13, 2021, 4:43 AM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • T
          thebusyguy22 @KOM
          last edited by Jun 13, 2021, 4:50 AM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • T
            thebusyguy22 @KOM
            last edited by Jun 13, 2021, 4:56 AM

            @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.

            J 1 Reply Last reply Jun 13, 2021, 11:34 AM Reply Quote 0
            • J
              johnpoz LAYER 8 Global Moderator @thebusyguy22
              last edited by johnpoz Jun 13, 2021, 11:36 AM Jun 13, 2021, 11:34 AM

              @thebusyguy22 said in DNS resolver hostname:

              it's just getting it to reflect on the DHCP list.

              You mean like this?

              alexa.png

              Just put the hostname you want in your reservation

              hostname.png

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              T 1 Reply Last reply Jun 13, 2021, 2:55 PM Reply Quote 0
              • T
                thebusyguy22 @johnpoz
                last edited by Jun 13, 2021, 2:55 PM

                @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.

                J 1 Reply Last reply Jun 13, 2021, 3:45 PM Reply Quote 0
                • J
                  johnpoz LAYER 8 Global Moderator @thebusyguy22
                  last edited by Jun 13, 2021, 3:45 PM

                  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.

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  T 1 Reply Last reply Jun 14, 2021, 5:21 AM Reply Quote 1
                  • T
                    thebusyguy22 @johnpoz
                    last edited by Jun 14, 2021, 5:21 AM

                    @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!

                    J 1 Reply Last reply Jun 14, 2021, 10:14 AM Reply Quote 0
                    • J
                      johnpoz LAYER 8 Global Moderator @thebusyguy22
                      last edited by Jun 14, 2021, 10:14 AM

                      @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.

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      T 1 Reply Last reply Jun 14, 2021, 1:23 PM Reply Quote 0
                      • T
                        thebusyguy22 @johnpoz
                        last edited by Jun 14, 2021, 1:23 PM

                        @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.

                        J 1 Reply Last reply Jun 14, 2021, 1:33 PM Reply Quote 0
                        • J
                          johnpoz LAYER 8 Global Moderator @thebusyguy22
                          last edited by johnpoz Jun 14, 2021, 1:35 PM Jun 14, 2021, 1:33 PM

                          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.

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          1 Reply Last reply Reply Quote 0
                          1 out of 12
                          • First post
                            1/12
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                            This community forum collects and processes your personal information.
                            consent.not_received