I am attaching a ENUM/DNS Trace which we have captured over the wire in the DNS Protocol section,I am sending this following query
Our Application Logs show a . [period] after e164enum.net as e164enum.net. But wireshark is removing the . after net and displaying only “e164enum.net”. Why is wireshark showing Like this? asked 12 Nov ‘16, 02:40 h4harshith |
2 Answers:
In a DNS request, the name is represented by a series of labels, where each label is preceded with the length of the label. The final label has length 0. The dot is actually not part of the name, it is just a way of representing the separation of the labels (just like the dot in an IP address is to show the separation between the octets). In representating the FQDN, the dot in the end signifies that the name should be read as an absolute name (ie, no domain suffices should be applied anymore), while a name without a dot could be extended with a search domain. This is done on the system where the DNS lookup is performed, however, in the DNS request towards the server the search domain is already added and the name is considered an absolute name. Therefor the final dot is omitted in the DNS request. Wireshark dissects the data as is and therefor a final dot is not displayed as it was not transmitted over the wire. answered 12 Nov '16, 04:25 SYN-bit ♦♦ |
Wireshark is doing this as that's exactly what is transmitted on the wire, see the hex bytes display for confirmation:
Note the byte after the "t" is 0x00, there is no period. Your application software must be creating the "." suffix itself. You can also see the hex bytes corresponding to a field in Wireshark by clicking the field in the packet details pane, the hex bytes pane will then highlight the respective bytes. answered 12 Nov '16, 03:24 grahamb ♦ Thank you so much for your helpful inputs. Upvoted (16 Nov '16, 05:36) h4harshith |
Thank you so much for your helpful inputs. Upvoted