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

    Kea hostname with periods at the end

    Scheduled Pinned Locked Moved DHCP and DNS
    5 Posts 2 Posters 331 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.
    • I
      impact1560
      last edited by

      I've noticed that the hostname has an extra period at the end when using Kea DHCP. Is there a way to correct this, or could this be a bug?

      9df00616-5fce-441d-8d4b-3d1eecf1cc13-image.png

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @impact1560
        last edited by johnpoz

        @impact1560 that is proper for a fqdn..

        There is nothing to change. But to be honest .local as tld is a horrible choice.. This the mdns domain, shouldn't really use it for normal dns.

        The trailing . is the root.. you will see that in any query as the actual question and the answer even if you leave it off

        $ dig www.google.com
        
        ; <<>> DiG 9.16.50 <<>> www.google.com
        ;; global options: +cmd
        ;; Got answer:
        ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52269
        ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
        
        ;; OPT PSEUDOSECTION:
        ; EDNS: version: 0, flags:; udp: 4096
        ;; QUESTION SECTION:
        ;www.google.com.                        IN      A
        
        ;; ANSWER SECTION:
        www.google.com.         160     IN      A       172.217.0.164
        
        ;; Query time: 0 msec
        ;; SERVER: 192.168.9.253#53(192.168.9.253)
        ;; WHEN: Sat Sep 28 00:05:03 Central Daylight Time 2024
        ;; MSG SIZE  rcvd: 59
        

        https://datatracker.ietf.org/doc/html/rfc8499
        DNS Terminology

                 The presentation format for names in the global DNS is a list
                 of labels ordered by decreasing distance from the root, encoded
                 as ASCII, with a "." character between each label.  In
                 presentation format, a fully-qualified domain name includes the
                 root label and the associated separator dot.  For example, in
                 presentation format, a fully-qualified domain name with two
                 non-root labels is always shown as "example.tld." instead of
                 "example.tld".  [RFC1035] defines a method for showing octets
                 that do not display in ASCII.
        
                 The common display format is used in applications and free
                 text.  It is the same as the presentation format, but showing
                 the root label and the "." before it is optional and is rarely
                 done.  For example, in common display format, a fully-qualified
                 domain name with two non-root labels is usually shown as
                 "example.tld" instead of "example.tld.".  Names in the common
                 display format are normally written such that the
                 directionality of the writing system presents labels by
                 decreasing distance from the root (so, in both English and the
                 C programming language the root or Top-Level Domain (TLD) label
                 in the ordered list is rightmost; but in Arabic, it may be
                 leftmost, depending on local conventions).
        

        Presentation format vs "common" format

        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 1
        • I
          impact1560
          last edited by

          @johnpoz said in Kea hostname with periods at the end:

          tld

          thank you

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @impact1560
            last edited by johnpoz

            @impact1560 top level domain..

            netgate.com.

            com is the tld

            pfsense.org

            org is the tld, .local as a tld has been hijacked my apple and their mdns..

            https://en.wikipedia.org/wiki/.local

            .local has since been designated for use in link-local networking, in applications of multicast DNS (mDNS) and zero-configuration networking (zeroconf) so that DNS service may be established without local installations of conventional DNS infrastructure on local area networks.

            The recommend domains you should use locally is home.arpa or newer is .internal, so in your case with cos.local would become say cos.home.arpa or cos.internal would be much better choices.

            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

            I 1 Reply Last reply Reply Quote 2
            • I
              impact1560 @johnpoz
              last edited by

              @johnpoz

              Thank You, I never knew that.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.